Use explicit keywords instead of cryptic codes in ESLint config
Bikeshedding at its best, isn't it?
This commit is contained in:
parent
64cc4927b3
commit
82c4898715
@ -9,54 +9,54 @@ env:
|
|||||||
node: true
|
node: true
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
arrow-body-style: 2
|
arrow-body-style: error
|
||||||
arrow-parens: [2, always]
|
arrow-parens: [error, always]
|
||||||
arrow-spacing: 2
|
arrow-spacing: error
|
||||||
block-scoped-var: 2
|
block-scoped-var: error
|
||||||
block-spacing: [2, always]
|
block-spacing: [error, always]
|
||||||
brace-style: [2, 1tbs]
|
brace-style: [error, 1tbs]
|
||||||
comma-dangle: 0
|
comma-dangle: off
|
||||||
curly: [2, all]
|
curly: [error, all]
|
||||||
dot-location: [2, property]
|
dot-location: [error, property]
|
||||||
dot-notation: 2
|
dot-notation: error
|
||||||
eol-last: 2
|
eol-last: error
|
||||||
eqeqeq: 2
|
eqeqeq: error
|
||||||
handle-callback-err: 2
|
handle-callback-err: error
|
||||||
indent: [2, tab]
|
indent: [error, tab]
|
||||||
key-spacing: [2, {beforeColon: false, afterColon: true}]
|
key-spacing: [error, {beforeColon: false, afterColon: true}]
|
||||||
keyword-spacing: [2, {before: true, after: true}]
|
keyword-spacing: [error, {before: true, after: true}]
|
||||||
linebreak-style: [2, unix]
|
linebreak-style: [error, unix]
|
||||||
no-alert: 2
|
no-alert: error
|
||||||
no-catch-shadow: 2
|
no-catch-shadow: error
|
||||||
no-confusing-arrow: 2
|
no-confusing-arrow: error
|
||||||
no-control-regex: 0
|
no-control-regex: off
|
||||||
no-duplicate-imports: 2
|
no-duplicate-imports: error
|
||||||
no-else-return: 2
|
no-else-return: error
|
||||||
no-implicit-globals: 2
|
no-implicit-globals: error
|
||||||
no-multi-spaces: 2
|
no-multi-spaces: error
|
||||||
no-multiple-empty-lines: [2, { "max": 1 }]
|
no-multiple-empty-lines: [error, { "max": 1 }]
|
||||||
no-shadow: 2
|
no-shadow: error
|
||||||
no-template-curly-in-string: 2
|
no-template-curly-in-string: error
|
||||||
no-trailing-spaces: 2
|
no-trailing-spaces: error
|
||||||
no-unsafe-negation: 2
|
no-unsafe-negation: error
|
||||||
no-useless-computed-key: 2
|
no-useless-computed-key: error
|
||||||
no-useless-return: 2
|
no-useless-return: error
|
||||||
object-curly-spacing: [2, never]
|
object-curly-spacing: [error, never]
|
||||||
padded-blocks: [2, never]
|
padded-blocks: [error, never]
|
||||||
prefer-const: 2
|
prefer-const: error
|
||||||
quote-props: [2, as-needed]
|
quote-props: [error, as-needed]
|
||||||
quotes: [2, double, avoid-escape]
|
quotes: [error, double, avoid-escape]
|
||||||
semi-spacing: 2
|
semi-spacing: error
|
||||||
semi-style: [2, last]
|
semi-style: [error, last]
|
||||||
semi: [2, always]
|
semi: [error, always]
|
||||||
space-before-blocks: 2
|
space-before-blocks: error
|
||||||
space-before-function-paren: [2, never]
|
space-before-function-paren: [error, never]
|
||||||
space-in-parens: [2, never]
|
space-in-parens: [error, never]
|
||||||
space-infix-ops: 2
|
space-infix-ops: error
|
||||||
spaced-comment: [2, always]
|
spaced-comment: [error, always]
|
||||||
strict: 2
|
strict: error
|
||||||
template-curly-spacing: 2
|
template-curly-spacing: error
|
||||||
yoda: 2
|
yoda: error
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
log: false
|
log: false
|
||||||
|
Loading…
Reference in New Issue
Block a user