Update eslint rules
This commit is contained in:
parent
11d8687af7
commit
a1bec922ef
|
@ -132,7 +132,7 @@ rules:
|
||||||
no-duplicate-imports: [2]
|
no-duplicate-imports: [2]
|
||||||
no-else-return: [0]
|
no-else-return: [0]
|
||||||
no-empty-character-class: [2]
|
no-empty-character-class: [2]
|
||||||
no-empty-function: [0]
|
no-empty-function: [1]
|
||||||
no-empty-pattern: [2]
|
no-empty-pattern: [2]
|
||||||
no-empty: [2, {allowEmptyCatch: true}]
|
no-empty: [2, {allowEmptyCatch: true}]
|
||||||
no-eq-null: [2]
|
no-eq-null: [2]
|
||||||
|
@ -166,7 +166,7 @@ rules:
|
||||||
no-mixed-operators: [0]
|
no-mixed-operators: [0]
|
||||||
no-mixed-requires: [2, true]
|
no-mixed-requires: [2, true]
|
||||||
no-mixed-spaces-and-tabs: [2]
|
no-mixed-spaces-and-tabs: [2]
|
||||||
no-multi-spaces: [0]
|
no-multi-spaces: [2, {ignoreEOLComments: true}]
|
||||||
no-multi-str: [2]
|
no-multi-str: [2]
|
||||||
no-multiple-empty-lines: [2, {max: 2, maxEOF: 0, maxBOF: 0}]
|
no-multiple-empty-lines: [2, {max: 2, maxEOF: 0, maxBOF: 0}]
|
||||||
no-native-reassign: [2]
|
no-native-reassign: [2]
|
||||||
|
@ -249,7 +249,7 @@ rules:
|
||||||
sort-imports: [0]
|
sort-imports: [0]
|
||||||
sort-keys: [0]
|
sort-keys: [0]
|
||||||
space-before-blocks: [2, always]
|
space-before-blocks: [2, always]
|
||||||
space-before-function-paren: [1, never]
|
space-before-function-paren: [2, {anonymous: always, asyncArrow: always, named: never}]
|
||||||
space-in-parens: [2, never]
|
space-in-parens: [2, never]
|
||||||
space-infix-ops: [2]
|
space-infix-ops: [2]
|
||||||
space-unary-ops: [2]
|
space-unary-ops: [2]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user