-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
137 lines (137 loc) · 2.74 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"root": true,
"env": {
"browser": true,
"es2020": true,
"es6": true
},
"extends": [
"prettier",
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:github/recommended"
],
"ignorePatterns": [
"dist",
".eslintrc.cjs",
"node_modules",
"*.generated.ts"
],
"plugins": [
"prettier",
"import",
"github",
"functional"
],
"settings": {
"import/extensions": [
".js"
]
},
"rules": {
"prettier/prettier": [
"error",
{
"arrowParens": "avoid",
"bracketSpacing": true,
"bracketSameLine": false,
"printWidth": 120,
"proseWrap": "preserve",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"quoteProps": "preserve",
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": "*.json",
"options": {
"printWidth": 200
}
}
]
},
{
"usePrettierrc": false
}
],
"camelcase": "off",
"import/no-commonjs": "off",
"radix": "off",
"no-void": "off",
"no-console": "off",
"i18n-text/no-en": "off",
"import/no-cycle": [
"error"
],
"prefer-const": [
"error"
],
"no-undef": "off",
"no-unused-vars": "off",
"no-redeclare": "off",
"no-param-reassign": [
"error"
],
"no-warning-comments": [
"warn",
{
"terms": [
"todo",
"fixme"
]
}
],
"no-return-await": "off",
"no-invalid-this": "off",
"quote-props": [
"error",
"consistent"
],
"filenames/match-regex": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
],
"pathGroups": [
{
"pattern": "./**",
"group": "parent"
}
],
"newlines-between": "always",
"alphabetize": {
"order": "desc",
"orderImportKind": "desc",
"caseInsensitive": false
}
}
],
"import/no-unresolved": "off",
"import/default": "off",
"import/named": "off",
"import/no-deprecated": "warn",
"import/no-namespace": "off",
"import/no-named-as-default-member": "off",
"no-restricted-imports": "off",
"github/no-then": "off",
"eslint-comments/no-use": "off",
"eslint-comments/no-restricted-disable": "off",
"import/extensions": "off",
"no-shadow": "off"
},
"parserOptions": {
"ecmaVersion": 2020
}
}