Fix lint
This commit is contained in:
+14
-3
@@ -5,7 +5,9 @@
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended"
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:react/recommended"
|
||||
],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
@@ -47,7 +49,7 @@
|
||||
"no-extra-boolean-cast": "warn",
|
||||
"no-param-reassign": "error",
|
||||
"no-shadow": "warn",
|
||||
"no-unused-vars": "warn",
|
||||
"no-unused-vars": "off",
|
||||
"no-useless-constructor": "warn",
|
||||
"object-curly-newline": "error",
|
||||
"prefer-destructuring": "warn",
|
||||
@@ -70,6 +72,7 @@
|
||||
"jsx-a11y/no-static-element-interactions": "off",
|
||||
"jsx-a11y/label-has-associated-control": "off",
|
||||
"jsx-a11y/label-has-for": "off",
|
||||
"react/display-name": "off",
|
||||
"react/destructuring-assignment": "off",
|
||||
"react/jsx-closing-bracket-location": "off",
|
||||
"react/jsx-closing-tag-location": "off",
|
||||
@@ -82,6 +85,14 @@
|
||||
"react/no-access-state-in-setstate": "warn",
|
||||
"react/prop-types": "off",
|
||||
"react/prefer-stateless-function": "off",
|
||||
"react/self-closing-comp": "off"
|
||||
"react/self-closing-comp": "off",
|
||||
"@typescript-eslint/camelcase": "off",
|
||||
"@typescript-eslint/explicit-function-return-type": "off",
|
||||
"@typescript-eslint/explicit-member-accessibility": "off",
|
||||
"@typescript-eslint/indent": "off",
|
||||
"@typescript-eslint/interface-name-prefix": "off",
|
||||
"@typescript-eslint/no-empty-interface": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-vars": "warn"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user