-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.eslintrc.json
39 lines (39 loc) · 850 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
37
38
39
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"env": {
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"no-unused-vars": [1],
"comma-dangle": ["error", "only-multiline"],
"semi": [2, "always"],
"strict": [2, "never"],
"indent": [2, 2],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"no-reserved-keys": 0,
"no-wrap-func": 0,
"no-console": 0,
"spaced-line-comment": 0,
"no-multiple-empty-lines": [
2,
{
"max": 3
}
],
"@typescript-eslint/no-inferrable-types": 0,
"prettier/prettier": ["error"]
}
}