-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
75 lines (75 loc) · 1.7 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"env": {
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:sonarjs/recommended",
"plugin:solid/recommended",
"plugin:prettier/recommended",
"plugin:tailwindcss/recommended",
"plugin:import/recommended",
"@feature-sliced",
"@feature-sliced/eslint-config/rules/import-order/experimental",
"prettier"
],
"globals": {
"alert": "readonly",
"document": "readonly",
"localStorage": "readonly",
"window": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-sonarjs",
"import",
"jsx-a11y",
"mysticatea",
"prefer-object-spread",
"prettier",
"risxss",
"boundaries",
"@feature-sliced/eslint-plugin-messages"
],
"processor": "@feature-sliced/messages/fs",
"root": true,
"rules": {
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"complexity": [
"error",
13
],
"curly": "error",
"mysticatea/no-useless-rest-spread": "error",
"no-debugger": "warn",
"no-template-curly-in-string": "off",
"no-unused-vars": "off",
"prefer-object-spread/prefer-object-spread": 2,
"prettier/prettier": "warn"
},
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
}
}