-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
52 lines (52 loc) · 1.19 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
{
"env": {
"browser": true,
"es6": true,
"jasmine": true,
"jest": true,
"node": true
},
"globals": {
"Exception": true
},
"extends":[
"eslint:recommended",
"standard"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-console": [2, { "allow": ["warn", "error", "info", "timeLog", "time", "timeEnd"] }],
"linebreak-style": [
"error",
"unix"
],
"space-before-function-paren": ["error", "never"],
"arrow-body-style": ["error", "as-needed"],
"camelcase": 0,
"no-mixed-operators": 0,
"no-return-assign": 0,
"brace-style": 0,
"operator-linebreak": ["error", "after"],
"no-unused-expressions": 0,
"prefer-promise-reject-errors": 0,
"no-undef": 0,
"no-undef-init": 0,
"no-useless-return": 0,
"eqeqeq": 0,
"no-case-declarations": 0,
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "ignoreRestSiblings": true, "args": "none" }
],
"comma-dangle": ["error", "always-multiline"],
"no-useless-escape" : "off"
}
}