-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 897 Bytes
/
.eslintrc
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
{
"env": {
"browser": true,
"es2021": true,
"node": true,
},
"extends": "eslint:recommended",
"ignorePatterns": [ "**/*.min.js" ],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"getter-return": [ "error", { "allowImplicit": true } ],
"indent": [ "error", 2, { "SwitchCase": 1 } ],
"linebreak-style": [ "error", "unix" ],
"quotes": [ "error", "single", { "allowTemplateLiterals": true } ],
"no-console": "off",
"no-prototype-builtins": "off",
"no-unused-vars": "off",
"semi": [ "error", "never" ],
"sort-imports": [
"warn",
{
"allowSeparatedGroups": false,
"ignoreCase": false,
"ignoreDeclarationSort": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
}
],
}
}