-
Notifications
You must be signed in to change notification settings - Fork 50
/
.eslintrc.json
38 lines (38 loc) · 1.11 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 13,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"camelcase": "off",
"@typescript-eslint/camelcase": ["off", { "properties": "never" }],
"@typescript-eslint/ban-ts-ignore": ["off"],
"@typescript-eslint/no-explicit-any": ["off", { "ignoreRestArgs": true }],
"@typescript-eslint/interface-name-prefix": ["off"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"jsx-a11y/no-onchange": "off",
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"react/prop-types": "off",
"@typescript-eslint/no-unused-vars": "warn",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/ban-ts-comment": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}