/
.eslint.json
66 lines (66 loc) · 1.76 KB
/
.eslint.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"env": {
"es6": true,
"jest": true,
"node": true
},
"extends": [
"eslint:recommended",
"standard",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"prettier",
"prettier/@typescript-eslint",
"prettier/react",
"prettier/standard"
],
"plugins": ["@typescript-eslint", "simple-import-sort"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"project": "./tsconfig.json",
"tsconfigRootDir": "./"
},
"settings": {
"react": {
"version": "detect"
},
"import/ignore": ["node_modules"],
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".ts", ".tsx"]
}
}
},
"rules": {
"import/newline-after-import": "error",
"no-fallthrough": "off",
"no-return-await": "off",
"no-undef": "off",
"no-useless-constructor": "off",
"react/no-unescaped-entities": "off",
"react/prop-types": "off",
"react/display-name": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
"import/no-cycle": "off",
"camelcase": "off"
}
}