-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc.json
63 lines (63 loc) · 1.52 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
55
56
57
58
59
60
61
62
63
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"require": false,
"export": false,
"import": false
},
"rules": {
"generator-star-spacing": [0],
"camelcase": [0],
"consistent-return": [0],
"global-require": [0],
"import/prefer-default-export": [0],
"no-underscore-dangle": [0],
"no-else-return": [0],
"no-restricted-syntax": [0],
"no-use-before-define": [0],
"no-nested-ternary": [0],
"arrow-body-style": [0],
"import/extensions": [0],
"max-len": [
2,
{
"code": 200,
"tabWidth": 2,
"ignorePattern": "^\\s*[<svg|<path].+>",
"ignoreUrls": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"ignoreComments": true
}
],
"no-bitwise": [0],
"no-cond-assign": [0],
"import/no-unresolved": [0],
"require-yield": [0],
"no-constant-condition": [0],
"no-console": [0],
"no-script-url": [0],
"no-param-reassign": [0],
"no-restricted-properties": [0],
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"object-curly-newline": [0],
"@typescript-eslint/no-unused-vars": 1
}
}