-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
45 lines (45 loc) · 1017 Bytes
/
.eslintrc
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
{
"parser": "typescript-eslint-parser",
"plugins": ["jest", "prettier"],
"rules": {
"import/no-dynamic-require": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"prettier/prettier": [
"error",
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"parser": "typescript"
}
],
"space-before-function-paren": 0,
"no-console": "warn",
"no-restricted-syntax": 0,
"class-methods-use-this": 0,
"no-plusplus": 0,
"arrow-body-style": [1, "as-needed"],
"arrow-parens": 0,
"no-var": 1,
"mocha/handle-done-callback": 0,
"no-void": 0,
"max-len": [
"error",
{
"code": 120,
"ignoreStrings": true,
"ignoreComments": true,
"ignoreTemplateLiterals": true,
"ignoreTrailingComments": true
}
]
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
}
}