-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.json
46 lines (46 loc) · 1.23 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
39
40
41
42
43
44
45
46
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"airbnb"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"react/function-component-definition": "off",
"react/jsx-filename-extension": "off",
"no-console": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"import/extensions": [
"error",
"ignorePackages",
{ "js": "never", "jsx": "never", "ts": "never", "tsx": "never" }
],
"eol-last": "off",
"arrow-body-style": "off",
"no-trailing-spaces": "off",
"guard-for-in" : "off",
"no-restricted-syntax": "off",
"no-undef": "off",
"import/no-import-module-exports": "off",
"no-underscore-dangle": "off"
}
}