-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
47 lines (45 loc) · 1.06 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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:promise/recommended",
"prettier"
],
"settings": {
"node": {
"version": "detect"
}
},
"plugins": ["prettier", "promise", "@typescript-eslint"],
"rules": {
"import/no-unresolved": "off",
"no-multiple-empty-lines": [
"error",
{ "max": 2, "maxEOF": 0, "maxBOF": 0 }
],
"no-var": ["error"],
"no-empty-pattern": ["error"],
"object-curly-spacing": ["error", "always"],
"prettier/prettier": [
"warn",
{
"singleQuote": true,
"semi": false,
"object-curly-spacing": false
}
]
}
}