-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.json
34 lines (34 loc) · 933 Bytes
/
.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
{
"extends" : [
"eslint:recommended", "plugin:@typescript-eslint/recommended"
],
"parser" : "@typescript-eslint/parser",
"plugins" : [
"@typescript-eslint"
],
"root" : true,
"overrides": [
{
"files": [
"./tests/**/*.ts"
],
"rules": {
"@typescript-eslint/no-unused-vars": "off"
}
}
],
"rules" : {
"max-len": [
"warn",
{
"code": 140,
"tabWidth": 4
}
],
"@typescript-eslint/semi": ["error", "never", { "beforeStatementContinuationChars": "always"}], // doesn't apply to TS interfaces
"@typescript-eslint/no-explicit-any" : "off",
"no-async-promise-executor" : "off",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-unused-vars": "warn"
}
}