-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
70 lines (70 loc) · 1.59 KB
/
.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
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
{
"root": true,
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"env": {
"es2024": true,
"browser": true
},
"extends": [
"plugin:unicorn/all",
"airbnb-base"
],
"plugins": [
"unicorn",
"import",
"promise",
"simple-import-sort",
"sort-class-members"
],
"rules": {
"quotes": [
"error",
"single"
],
"arrow-body-style": "off",
"class-methods-use-this": "off",
"linebreak-style": "off",
"no-console": "off",
"no-restricted-syntax": "off",
"unicorn/no-static-only-class": "off",
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"object-curly-newline": "off",
"object-property-newline": "off",
"radix": "off",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"space-before-function-paren": "off",
"import/no-extraneous-dependencies": "off",
"unicorn/no-keyword-prefix": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/no-null": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-array-reduce": "off",
"unicorn/prefer-module": "off",
"sort-class-members/sort-class-members": [
2,
{
"order": [
"[static-properties]",
"[static-methods]",
"[properties]",
"[conventional-private-properties]",
"constructor",
"[methods]",
"[conventional-private-methods]"
],
"accessorPairPositioning": "getThenSet"
}
]
}
}