-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
70 lines (70 loc) · 1.71 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
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json"
],
"sourceType": "module"
},
"ignorePatterns": [
"dist/**/*"
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [
".ts",
".tsx"
]
}
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/space-infix-ops": 0,
"@typescript-eslint/lines-between-class-members": 0,
"@typescript-eslint/no-invalid-this": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-extra-semi": 1,
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/ban-ts-comment": 0,
"indent": 0,
"semi": 0,
"camelcase": 0,
"no-invalid-this": 0,
"arrow-body-style": 0,
"no-plusplus": 0,
"no-continue": 0,
"spaced-comment": 0,
"no-unused-vars": 0,
"no-case-declarations": 0,
"valid-jsdoc": 0,
"max-classes-per-file": 0,
"import/prefer-default-export": 0,
"no-param-reassign": 0,
"no-console": 0,
"no-await-in-loop": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"prefer-destructuring": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"max-len": ["warn", { "code": 150 }],
"object-curly-newline": ["error", {
"ImportDeclaration": { "multiline": true, "minProperties": 5 }
}],
"object-curly-spacing": ["warn", "always"]
}
}