mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-12-18 21:45:04 +01:00
fix: eqeqeq
ignore usage of null
This commit is contained in:
parent
c9ef195013
commit
8cadf4a235
@ -88,14 +88,13 @@
|
|||||||
],
|
],
|
||||||
"valid-typeof": ["error", { "requireStringLiterals": true }],
|
"valid-typeof": ["error", { "requireStringLiterals": true }],
|
||||||
|
|
||||||
"class-methods-use-this": "error",
|
|
||||||
"consistent-this": "error",
|
"consistent-this": "error",
|
||||||
"default-param-last": "off",
|
"default-param-last": "off",
|
||||||
"@typescript-eslint/default-param-last": "error",
|
"@typescript-eslint/default-param-last": "error",
|
||||||
"default-case-last": "error",
|
"default-case-last": "error",
|
||||||
"dot-notation": "off",
|
"dot-notation": "off",
|
||||||
"@typescript-eslint/dot-notation": ["error", { "allowKeywords": true }],
|
"@typescript-eslint/dot-notation": ["error", { "allowKeywords": true }],
|
||||||
"eqeqeq": "error",
|
"eqeqeq": ["error", "always", { "null": "ignore" }],
|
||||||
"grouped-accessor-pairs": "error",
|
"grouped-accessor-pairs": "error",
|
||||||
"new-cap": [
|
"new-cap": [
|
||||||
"error",
|
"error",
|
||||||
|
Loading…
Reference in New Issue
Block a user