-
extends "eslint:recommended"
-
quotes: double - quotes: ["error", "double"]
-
semicolons - required - semi: ["error", "always"]
-
2 spaces, CRLF - "indent": ["error", 2]
-
use strict required - strict: ["error", "global"]
-
https://eslint.org/docs/rules/max-len.html - ["error", { "code": 120 }, { "ignoreTemplateLiterals": true }]
- https://eslint.org/docs/rules/template-curly-spacing - ["error", "never"]
- https://eslint.org/docs/rules/prefer-template.html - "error"
- https://eslint.org/docs/rules/one-var.html - ["error", "never"]
- https://eslint.org/docs/rules/prefer-const.html - "error"
- https://eslint.org/docs/rules/no-const-assign.html - "error"
- https://eslint.org/docs/rules/prefer-rest-params, https://eslint.org/docs/rules/prefer-spread - "error"
- https://eslint.org/docs/rules/no-param-reassign.html - "error"
- https://eslint.org/docs/rules/prefer-arrow-callback.html - "error"
- https://eslint.org/docs/rules/arrow-spacing.html - { "before": true, "after": true }
- https://eslint.org/docs/rules/implicit-arrow-linebreak - ["error", "beside"]
- https://eslint.org/docs/rules/no-undef
- https://eslint.org/docs/rules/no-array-constructor.html
- https://eslint.org/docs/rules/no-var.html
- https://eslint.org/docs/rules/no-new-object.html
- https://eslint.org/docs/rules/no-eval
- https://eslint.org/docs/rules/no-useless-escape
- https://eslint.org/docs/rules/no-new-func
- https://eslint.org/docs/rules/no-useless-constructor
- https://eslint.org/docs/rules/no-dupe-class-members
- https://eslint.org/docs/rules/no-multi-assign
- https://eslint.org/docs/rules/no-duplicate-imports
- https://eslint.org/docs/rules/no-array-constructor.html
- https://eslint.org/docs/rules/no-new-wrappers
- https://eslint.org/docs/rules/no-alert
- https://eslint.org/docs/rules/no-extend-native
- https://eslint.org/docs/rules/no-floating-decimal
- https://eslint.org/docs/rules/no-return-await
- https://eslint.org/docs/rules/no-return-assign
- https://eslint.org/docs/rules/no-self-compare
- https://eslint.org/docs/rules/no-unmodified-loop-condition
- https://eslint.org/docs/rules/no-useless-catch
- https://eslint.org/docs/rules/no-bitwise
- https://eslint.org/docs/rules/no-mixed-operators
- https://eslint.org/docs/rules/yoda
- https://eslint.org/docs/rules/object-shorthand.html - "error"*
- https://eslint.org/docs/rules/quote-props.html - ["error", "as-needed"]
- https://eslint.org/docs/rules/array-callback-return - "error"
- https://eslint.org/docs/rules/dot-notation.html - "error"
- https://eslint.org/docs/rules/eqeqeq.html - "error"
- https://eslint.org/docs/rules/no-nested-ternary.html - "error"
- https://eslint.org/docs/rules/no-unneeded-ternary.html - "error"
- https://eslint.org/docs/rules/default-case - "error"
-
https://eslint.org/docs/rules/keyword-spacing.html - ["error", { "before": true }, { "after": true }]
-
https://eslint.org/docs/rules/space-infix-ops.html - "error"
-
https://github.com/eslint/eslint/blob/master/docs/rules/eol-last.md - ["error", "always"]
-
https://eslint.org/docs/rules/newline-per-chained-call - ["error", { "ignoreChainWithDepth": 2 }]
-
https://eslint.org/docs/rules/no-whitespace-before-property - "error"
-
https://eslint.org/docs/rules/no-multiple-empty-lines - ["error", { "max": 2, "maxEOF": 1, "maxBOF": 1}]
-
https://eslint.org/docs/rules/space-in-parens.html - ["error", "never"]
-
https://eslint.org/docs/rules/array-bracket-spacing.html - ["error", "never"]
-
https://eslint.org/docs/rules/space-before-function-paren - ["error", "never"]
-
https://eslint.org/docs/rules/function-paren-newline - ["error", "multiline"]
-
https://eslint.org/docs/rules/object-curly-spacing.html - ["error", "never"]
-
https://eslint.org/docs/rules/comma-spacing - ["error", { "before": false, "after": true }]
-
https://eslint.org/docs/rules/computed-property-spacing - ["error", "never"]
-
https://eslint.org/docs/rules/func-call-spacing - ["error", "never"]
-
https://eslint.org/docs/rules/key-spacing - ["error", { "beforeColon": false, "afterColon": true }]
-
https://eslint.org/docs/rules/comma-style.html - ["error", "last"]
-
https://eslint.org/docs/rules/radix - ["error", "as-needed"]
-
https://eslint.org/docs/rules/max-classes-per-file - ["error", 1]
-
https://eslint.org/docs/rules/camelcase.html - ["error", { "properties": "always" }]
-
https://eslint.org/docs/rules/new-cap.html - ["error", { "newIsCap": true }, { "capIsNew": true } ]
- https://eslint.org/docs/rules/arrow-body-style.html
- https://eslint.org/docs/rules/arrow-parens.html
- https://eslint.org/docs/rules/func-style
- https://github.com/airbnb/javascript#variables--unary-increment-decrement
- https://eslint.org/docs/rules/no-restricted-properties
- https://eslint.org/docs/rules/prefer-destructuring
- https://eslint.org/docs/rules/padded-blocks.html
- https://eslint.org/docs/rules/comma-dangle.html (https://github.com/airbnb/javascript#commas--dangling)
- https://eslint.org/docs/rules/id-length
- https://eslint.org/docs/rules/no-underscore-dangle.html (https://github.com/airbnb/javascript#naming--leading-underscore)
- https://eslint.org/docs/rules/no-restricted-globals
- https://eslint.org/docs/rules/no-extra-parens
- https://eslint.org/docs/rules/complexity
- https://eslint.org/docs/rules/no-implicit-coercion
- https://eslint.org/docs/rules/no-magic-numbers
- https://eslint.org/docs/rules/max-lines
- https://eslint.org/docs/rules/max-params
- https://eslint.org/docs/rules/max-nested-callbacks