-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
57 lines (57 loc) · 1.09 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"@typescript-eslint",
"ava"
],
"extends": [
"airbnb-typescript",
"@octetstream",
"plugin:ava/recommended"
],
"rules": {
"no-void": 0,
"func-names": 0,
"no-shadow": 0,
"no-use-before-define": 0,
"max-len": [
"error",
{
"code": 80,
"ignoreComments": true
}
],
"import/no-unresolved": [
"error",
{
"ignore": [
"dinky.js"
]
}
],
"no-plusplus": 0,
// These two rules are false-positive and have no solution for TS
"no-redeclare": 0,
"no-dupe-class-members": 0,
"lines-between-class-members": 0,
"@typescript-eslint/semi": 0,
"@typescript-eslint/no-shadow": 0,
"@typescript-eslint/quotes": [
"error",
"double"
],
"@typescript-eslint/object-curly-spacing": [
"error",
"never"
],
"@typescript-eslint/comma-dangle": 0
}
}