-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
54 lines (54 loc) · 1.12 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
48
49
50
51
52
53
54
{
"env": {
"es6": true,
"node": true,
"browser": false,
"jest": true
},
"extends": [
"standard"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"semi": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"quote-props": ["error", "consistent-as-needed"],
"import/no-duplicates": "off",
"no-useless-escape": "off",
"no-return-assign": "off",
"no-prototype-builtins": "off",
"prefer-promise-reject-errors": "off",
"no-unused-vars": "off",
"generator-star-spacing": ["error", {"before": false, "after": true}],
"yield-star-spacing": ["error", {"before": false, "after": true}]
}
}