Update eslint config

This commit is contained in:
Hazem Krimi
2021-04-20 23:23:26 +01:00
parent a6c4ab9873
commit aeaf84f159
+3
View File
@@ -42,9 +42,11 @@ module.exports = {
'@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/no-use-before-define': 'off',
'react/prop-types': 'off', 'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off', 'react/react-in-jsx-scope': 'off',
'react/self-closing-comp': 0,
'@typescript-eslint/camelcase': 'off', '@typescript-eslint/camelcase': 'off',
'@typescript-eslint/explicit-function-return-type': 0, '@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/explicit-module-boundary-types': 0, '@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-explicit-any': 0,
'linebreak-style': 'off', 'linebreak-style': 'off',
'jsx-a11y/label-has-associated-control': [ 'jsx-a11y/label-has-associated-control': [
'error', 'error',
@@ -56,6 +58,7 @@ module.exports = {
depth: 25, depth: 25,
}, },
], ],
'jsx-a11y/control-has-associated-label': 0,
'prettier/prettier': [ 'prettier/prettier': [
'error', 'error',
{ {