-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc.json
42 lines (42 loc) · 1.47 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/recommended", "airbnb-base"],
"env": {
"browser": false
},
"ignorePatterns": ["node_modules/", "example/", "test/"],
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"max-len": ["error", { "ignoreComments": true, "ignoreStrings": true, "code": 100 }],
"import/no-unresolved": 0,
"import/first": 0,
"class-methods-use-this": 0,
"no-console": 0,
"linebreak-style": ["error", "windows"],
"no-param-reassign": 0,
"implicit-arrow-linebreak": 0,
"import/extensions": 0,
"@typescript-eslint/no-unused-vars": 0,
"no-undef": 0,
"quotes": 0,
"function-paren-newline": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"import/no-extraneous-dependencies": 0,
"no-unused-vars": 0,
"object-curly-newline": 0,
"prefer-destructuring": 0,
"no-fallthrough": 0,
"no-shadow": 0,
"guard-for-in": 0,
"import/prefer-default-export": 0,
"operator-linebreak": 0,
"comma-dangle": 0,
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"no-lonely-if": 0
}
}