forked from be5invis/Iosevka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (35 loc) · 879 Bytes
/
.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
{
"env": {
"node": true,
"commonjs": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"extends": ["eslint:recommended", "prettier", "plugin:import/recommended"],
"rules": {
"semi": ["error", "always"],
"no-var": "error",
"no-console": 0,
"no-constant-condition": ["error", { "checkLoops": false }],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-unused-vars": ["off"],
"complexity": ["warn", 16],
"import/newline-after-import": ["error", { "count": 1 }],
"import/no-unresolved": "off",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"newlines-between": "always",
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
]
}
}