-
-
Notifications
You must be signed in to change notification settings - Fork 695
Expand file tree
/
Copy path.eslintrc.json
More file actions
42 lines (42 loc) · 1.18 KB
/
.eslintrc.json
File metadata and controls
42 lines (42 loc) · 1.18 KB
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
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"react-app",
"react-app/jest"
],
"parser": "@typescript-eslint/parser",
"plugins": ["import", "@typescript-eslint"],
"settings": {
"import/extensions": [".ts", ".cts", ".mts", ".tsx", ".js", ".jsx"],
"import/external-module-folders": ["node_modules", "node_modules/@types"],
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".cts", ".mts", ".tsx"]
},
"import/resolver": {
"node": {
"extensions": [".ts", ".cts", ".mts", ".tsx", ".js", ".jsx"]
}
}
},
"ignorePatterns": ["**/ui/*"],
"rules": {
"no-console": "error",
"curly": 1,
"import/extensions": ["error", "always", { "ignorePackages": true }],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"peerDependencies": true,
"optionalDependencies": false,
"bundledDependencies": false
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"import/no-cycle": "error"
}
}