forked from tmorell/license-compliance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.ext.json
121 lines (121 loc) · 4.37 KB
/
.eslintrc.ext.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"rules": {
"@typescript-eslint/array-type": [
"error",
{
"default": "generic"
}
],
"@typescript-eslint/ban-tslint-comment": "error",
"@typescript-eslint/brace-style": "error",
"@typescript-eslint/comma-spacing": "error",
"@typescript-eslint/consistent-indexed-object-style": "error",
"@typescript-eslint/consistent-type-assertions": [
"error",
{
"assertionStyle": "angle-bracket"
}
],
"@typescript-eslint/consistent-type-imports": [
"error",
{
"prefer": "no-type-imports"
}
],
"@typescript-eslint/default-param-last": "error",
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowDirectConstAssertionInArrowFunctions": false,
"allowHigherOrderFunctions": false,
"allowTypedFunctionExpressions": false
}
],
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
"accessibility": "no-public"
}
],
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi"
}
}
],
"@typescript-eslint/no-confusing-non-null-assertion": "error",
"@typescript-eslint/no-dupe-class-members": "error",
"@typescript-eslint/no-dynamic-delete": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-extraneous-class": [
"error",
{
"allowStaticOnly": true
}
],
"@typescript-eslint/no-invalid-this": "error",
"@typescript-eslint/no-invalid-void-type": "error",
"@typescript-eslint/no-loop-func": "error",
"@typescript-eslint/no-loss-of-precision": "error",
"@typescript-eslint/no-redeclare": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-expressions": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/prefer-enum-initializers": "error",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-literal-enum-member": "error",
"@typescript-eslint/semi": "error",
"@typescript-eslint/unified-signatures": "error",
"comma-dangle": ["error", "always-multiline"],
"eqeqeq": "error",
"function-paren-newline": ["error", "consistent"],
"import/no-duplicates": "error",
"key-spacing": "error",
"keyword-spacing": [
"error",
{
"overrides": {
"this": {
"before": false
}
}
}
],
"linebreak-style": ["error", "unix"],
"max-classes-per-file": "error",
"no-async-promise-executor": "error",
"no-await-in-loop": "error",
"no-loss-of-precision": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"no-promise-executor-return": "error",
"no-return-await": "error",
"no-tabs": "error",
"no-template-curly-in-string": "error",
"no-trailing-spaces": "error",
"no-unreachable-loop": "error",
"no-useless-backreference": "error",
"no-whitespace-before-property": "error",
"object-curly-spacing": ["error", "always"],
"padded-blocks": ["error", "never"],
"require-atomic-updates": "error",
"require-await": "error",
"rest-spread-spacing": ["error", "never"],
"semi": "error",
"semi-spacing": "error",
"semi-style": ["error", "last"],
"space-before-blocks": "error",
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": "error",
"strict": "error",
"switch-colon-spacing": "error",
"template-curly-spacing": "error",
"template-tag-spacing": ["error", "always"]
}
}