linted 16.1.0 → 16.1.1-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/imports/index.d.ts +1 -1
- package/dist/imports/index.d.ts.map +1 -1
- package/dist/imports/index.js +1 -1
- package/dist/imports/index.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/statics/index.d.ts +1 -1
- package/dist/statics/index.d.ts.map +1 -1
- package/dist/statics/index.js +1 -1
- package/dist/statics/index.js.map +1 -1
- package/dist/statics/rules/index.d.ts +23 -23
- package/dist/statics/rules/presets/Html.d.ts.map +1 -1
- package/dist/statics/rules/presets/Html.js +1 -4
- package/dist/statics/rules/presets/Html.js.map +1 -1
- package/dist/statics/rules/presets/Js.d.ts +4 -4
- package/dist/statics/rules/presets/Js.d.ts.map +1 -1
- package/dist/statics/rules/presets/Js.js +1 -4
- package/dist/statics/rules/presets/Js.js.map +1 -1
- package/dist/statics/rules/presets/Json.d.ts +1 -1
- package/dist/statics/rules/presets/Json.d.ts.map +1 -1
- package/dist/statics/rules/presets/Json.js +1 -4
- package/dist/statics/rules/presets/Json.js.map +1 -1
- package/dist/statics/rules/presets/Jsonc.d.ts +1 -1
- package/dist/statics/rules/presets/Jsonc.d.ts.map +1 -1
- package/dist/statics/rules/presets/Jsonc.js +1 -4
- package/dist/statics/rules/presets/Jsonc.js.map +1 -1
- package/dist/statics/rules/presets/Mocha.d.ts.map +1 -1
- package/dist/statics/rules/presets/Mocha.js +1 -4
- package/dist/statics/rules/presets/Mocha.js.map +1 -1
- package/dist/statics/rules/presets/Svelte.d.ts +8 -8
- package/dist/statics/rules/presets/Ts.d.ts +8 -8
- package/dist/statics/rules/presets/Yml.d.ts +1 -1
- package/dist/statics/rules/presets/Yml.d.ts.map +1 -1
- package/dist/statics/rules/presets/Yml.js +1 -4
- package/dist/statics/rules/presets/Yml.js.map +1 -1
- package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/html/Enable.js +1 -4
- package/dist/statics/rules/presets/html/Enable.js.map +1 -1
- package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -1
- package/dist/statics/rules/presets/html/Recommended.js +1 -4
- package/dist/statics/rules/presets/html/Recommended.js.map +1 -1
- package/dist/statics/rules/presets/index.d.ts +1 -1
- package/dist/statics/rules/presets/index.d.ts.map +1 -1
- package/dist/statics/rules/presets/index.js.map +1 -1
- package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/js/Enable.js +51 -254
- package/dist/statics/rules/presets/js/Enable.js.map +1 -1
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +4 -4
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -1
- package/dist/statics/rules/presets/js/EnableStylistic.js +85 -486
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -1
- package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/json/Enable.js.map +1 -1
- package/dist/statics/rules/presets/json/EnableX.d.ts +1 -1
- package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/json/EnableX.js +12 -66
- package/dist/statics/rules/presets/json/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -1
- package/dist/statics/rules/presets/jsonc/OverrideJson.js +2 -11
- package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -1
- package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/md/Enable.js +11 -49
- package/dist/statics/rules/presets/md/Enable.js.map +1 -1
- package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/mocha/Enable.js +1 -4
- package/dist/statics/rules/presets/mocha/Enable.js.map +1 -1
- package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -1
- package/dist/statics/rules/presets/mocha/Recommended.js +1 -4
- package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -1
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -1
- package/dist/statics/rules/presets/svelte/DisableJS.js +1 -7
- package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -1
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -1
- package/dist/statics/rules/presets/svelte/DisableTS.js +1 -7
- package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -1
- package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/svelte/DisableX.js +1 -6
- package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -1
- package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/svelte/Enable.js +19 -108
- package/dist/statics/rules/presets/svelte/Enable.js.map +1 -1
- package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/svelte/EnableX.js +2 -12
- package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/ts/DisableX.js.map +1 -1
- package/dist/statics/rules/presets/ts/Enable.d.ts +4 -4
- package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/ts/Enable.js +38 -175
- package/dist/statics/rules/presets/ts/Enable.js.map +1 -1
- package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/ts/EnableX.js +4 -29
- package/dist/statics/rules/presets/ts/EnableX.js.map +1 -1
- package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -1
- package/dist/statics/rules/presets/yml/Enable.js +9 -50
- package/dist/statics/rules/presets/yml/Enable.js.map +1 -1
- package/dist/statics/rules/presets/yml/EnableX.d.ts +1 -1
- package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -1
- package/dist/statics/rules/presets/yml/EnableX.js +9 -60
- package/dist/statics/rules/presets/yml/EnableX.js.map +1 -1
- package/dist/statics/rules/strings/level/index.d.ts +1 -1
- package/dist/statics/rules/strings/level/index.d.ts.map +1 -1
- package/dist/statics/rules/strings/level/index.js +1 -1
- package/dist/statics/rules/strings/level/index.js.map +1 -1
- package/dist/statics/rules/strings/state/index.d.ts +2 -2
- package/dist/statics/rules/strings/state/index.d.ts.map +1 -1
- package/dist/statics/rules/strings/state/index.js +2 -2
- package/dist/statics/rules/strings/state/index.js.map +1 -1
- package/package.json +3 -2
- package/src/imports/index.ts +1 -4
- package/src/index.ts +18 -7
- package/src/statics/index.ts +1 -4
- package/src/statics/rules/presets/Html.ts +1 -4
- package/src/statics/rules/presets/Js.ts +1 -4
- package/src/statics/rules/presets/Json.ts +1 -4
- package/src/statics/rules/presets/Jsonc.ts +1 -4
- package/src/statics/rules/presets/Mocha.ts +1 -4
- package/src/statics/rules/presets/Yml.ts +1 -4
- package/src/statics/rules/presets/html/Enable.ts +1 -4
- package/src/statics/rules/presets/html/Recommended.ts +2 -4
- package/src/statics/rules/presets/index.ts +1 -4
- package/src/statics/rules/presets/js/Enable.ts +53 -257
- package/src/statics/rules/presets/js/EnableStylistic.ts +86 -490
- package/src/statics/rules/presets/json/Enable.ts +0 -1
- package/src/statics/rules/presets/json/EnableX.ts +12 -67
- package/src/statics/rules/presets/jsonc/OverrideJson.ts +3 -19
- package/src/statics/rules/presets/md/Enable.ts +11 -50
- package/src/statics/rules/presets/mocha/Enable.ts +1 -4
- package/src/statics/rules/presets/mocha/Recommended.ts +2 -4
- package/src/statics/rules/presets/svelte/DisableJS.ts +3 -10
- package/src/statics/rules/presets/svelte/DisableTS.ts +1 -7
- package/src/statics/rules/presets/svelte/DisableX.ts +2 -11
- package/src/statics/rules/presets/svelte/Enable.ts +50 -137
- package/src/statics/rules/presets/svelte/EnableX.ts +3 -21
- package/src/statics/rules/presets/ts/DisableX.ts +1 -2
- package/src/statics/rules/presets/ts/Enable.ts +39 -191
- package/src/statics/rules/presets/ts/EnableX.ts +9 -41
- package/src/statics/rules/presets/yml/Enable.ts +9 -59
- package/src/statics/rules/presets/yml/EnableX.ts +9 -69
- package/src/statics/rules/strings/level/index.ts +1 -5
- package/src/statics/rules/strings/state/index.ts +2 -0
@@ -3,6 +3,6 @@ type RuleEntry = Boundary.Input.Rules.Preset.Entry;
|
|
3
3
|
declare namespace RuleEntry {
|
4
4
|
type Object = Boundary.Input.Rules.Preset.Entry.Object;
|
5
5
|
}
|
6
|
-
export type { RuleEntry as default
|
6
|
+
export type { RuleEntry, RuleEntry as default };
|
7
7
|
export * as Strings from "../strings/index.js";
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/statics/rules/presets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,KAAK,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAEnD,kBAAU,SAAS,CAAC;IAClB,KAAY,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;CAC/D;AAED,YAAY,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/statics/rules/presets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,KAAK,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAEnD,kBAAU,SAAS,CAAC;IAClB,KAAY,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;CAC/D;AAED,YAAY,EAAE,SAAS,EAAE,SAAS,IAAI,OAAO,EAAE,CAAC;AAChD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/statics/rules/presets/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,
|
1
|
+
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,wBA8Q+B"}
|
@@ -3,34 +3,18 @@ const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, AS_NEEDED
|
|
3
3
|
export default [
|
4
4
|
Enable,
|
5
5
|
{
|
6
|
-
"array-callback-return": [
|
7
|
-
ERROR,
|
8
|
-
{
|
9
|
-
allowImplicit: false,
|
10
|
-
checkForEach: true,
|
11
|
-
allowVoid: true,
|
12
|
-
},
|
13
|
-
],
|
6
|
+
"array-callback-return": [ERROR, { allowImplicit: false, checkForEach: true, allowVoid: true }],
|
14
7
|
"constructor-super": ERROR,
|
15
8
|
"for-direction": ERROR,
|
16
|
-
"getter-return": [
|
17
|
-
ERROR,
|
18
|
-
{ allowImplicit: false },
|
19
|
-
],
|
9
|
+
"getter-return": [ERROR, { allowImplicit: false }],
|
20
10
|
"no-async-promise-executor": ERROR,
|
21
11
|
"no-await-in-loop": ERROR,
|
22
12
|
"no-class-assign": ERROR,
|
23
13
|
"no-compare-neg-zero": ERROR,
|
24
|
-
"no-cond-assign": [
|
25
|
-
ERROR,
|
26
|
-
ALWAYS,
|
27
|
-
],
|
14
|
+
"no-cond-assign": [ERROR, ALWAYS],
|
28
15
|
"no-const-assign": ERROR,
|
29
16
|
"no-constant-binary-expression": ERROR,
|
30
|
-
"no-constant-condition": [
|
31
|
-
ERROR,
|
32
|
-
{ checkLoops: true },
|
33
|
-
],
|
17
|
+
"no-constant-condition": [ERROR, { checkLoops: true }],
|
34
18
|
"no-constructor-return": ERROR,
|
35
19
|
"no-control-regex": ERROR,
|
36
20
|
"no-debugger": ERROR,
|
@@ -41,29 +25,13 @@ export default [
|
|
41
25
|
"no-duplicate-case": ERROR,
|
42
26
|
"no-duplicate-imports": OFF,
|
43
27
|
"no-empty-character-class": ERROR,
|
44
|
-
"no-empty-pattern": [
|
45
|
-
ERROR,
|
46
|
-
{ allowObjectPatternsAsParameters: false },
|
47
|
-
],
|
28
|
+
"no-empty-pattern": [ERROR, { allowObjectPatternsAsParameters: false }],
|
48
29
|
"no-ex-assign": ERROR,
|
49
|
-
"no-fallthrough": [
|
50
|
-
ERROR,
|
51
|
-
{
|
52
|
-
allowEmptyCase: true,
|
53
|
-
reportUnusedFallthroughComment: true,
|
54
|
-
},
|
55
|
-
],
|
30
|
+
"no-fallthrough": [ERROR, { allowEmptyCase: true, reportUnusedFallthroughComment: true }],
|
56
31
|
"no-func-assign": ERROR,
|
57
32
|
"no-import-assign": ERROR,
|
58
|
-
"no-inner-declarations": [
|
59
|
-
|
60
|
-
BOTH,
|
61
|
-
{ blockScopedFunctions: ALLOW },
|
62
|
-
],
|
63
|
-
"no-invalid-regexp": [
|
64
|
-
ERROR,
|
65
|
-
{ allowConstructorFlags: [] },
|
66
|
-
],
|
33
|
+
"no-inner-declarations": [ERROR, BOTH, { blockScopedFunctions: ALLOW }],
|
34
|
+
"no-invalid-regexp": [ERROR, { allowConstructorFlags: [] }],
|
67
35
|
"no-irregular-whitespace": [
|
68
36
|
ERROR,
|
69
37
|
{
|
@@ -78,15 +46,9 @@ export default [
|
|
78
46
|
"no-misleading-character-class": ERROR,
|
79
47
|
"no-new-native-nonconstructor": ERROR,
|
80
48
|
"no-obj-calls": ERROR,
|
81
|
-
"no-promise-executor-return": [
|
82
|
-
ERROR,
|
83
|
-
{ allowVoid: true },
|
84
|
-
],
|
49
|
+
"no-promise-executor-return": [ERROR, { allowVoid: true }],
|
85
50
|
"no-prototype-builtins": ERROR,
|
86
|
-
"no-self-assign": [
|
87
|
-
ERROR,
|
88
|
-
{ props: true },
|
89
|
-
],
|
51
|
+
"no-self-assign": [ERROR, { props: true }],
|
90
52
|
"no-self-compare": ERROR,
|
91
53
|
"no-setter-return": ERROR,
|
92
54
|
"no-sparse-arrays": ERROR,
|
@@ -96,19 +58,10 @@ export default [
|
|
96
58
|
"no-unexpected-multiline": ERROR,
|
97
59
|
"no-unmodified-loop-condition": ERROR,
|
98
60
|
"no-unreachable": ERROR,
|
99
|
-
"no-unreachable-loop": [
|
100
|
-
ERROR,
|
101
|
-
{ ignore: [] },
|
102
|
-
],
|
61
|
+
"no-unreachable-loop": [ERROR, { ignore: [] }],
|
103
62
|
"no-unsafe-finally": ERROR,
|
104
|
-
"no-unsafe-negation": [
|
105
|
-
|
106
|
-
{ enforceForOrderingRelations: true },
|
107
|
-
],
|
108
|
-
"no-unsafe-optional-chaining": [
|
109
|
-
ERROR,
|
110
|
-
{ disallowArithmeticOperators: true },
|
111
|
-
],
|
63
|
+
"no-unsafe-negation": [ERROR, { enforceForOrderingRelations: true }],
|
64
|
+
"no-unsafe-optional-chaining": [ERROR, { disallowArithmeticOperators: true }],
|
112
65
|
"no-unused-private-class-members": ERROR,
|
113
66
|
"no-unused-vars": [
|
114
67
|
ERROR,
|
@@ -132,59 +85,24 @@ export default [
|
|
132
85
|
],
|
133
86
|
"no-useless-assignment": ERROR,
|
134
87
|
"no-useless-backreference": ERROR,
|
135
|
-
"require-atomic-updates": [
|
136
|
-
|
137
|
-
|
138
|
-
],
|
139
|
-
"
|
140
|
-
ERROR,
|
141
|
-
{
|
142
|
-
enforceForSwitchCase: true,
|
143
|
-
enforceForIndexOf: true,
|
144
|
-
},
|
145
|
-
],
|
146
|
-
"valid-typeof": [
|
147
|
-
ERROR,
|
148
|
-
{ requireStringLiterals: true },
|
149
|
-
],
|
150
|
-
"accessor-pairs": [
|
151
|
-
ERROR,
|
152
|
-
{
|
153
|
-
setWithoutGet: true,
|
154
|
-
getWithoutSet: false,
|
155
|
-
enforceForClassMembers: true,
|
156
|
-
},
|
157
|
-
],
|
158
|
-
"arrow-body-style": [
|
159
|
-
ERROR,
|
160
|
-
AS_NEEDED,
|
161
|
-
{ requireReturnForObjectLiteral: true },
|
162
|
-
],
|
88
|
+
"require-atomic-updates": [ERROR, { allowProperties: false }],
|
89
|
+
"use-isnan": [ERROR, { enforceForSwitchCase: true, enforceForIndexOf: true }],
|
90
|
+
"valid-typeof": [ERROR, { requireStringLiterals: true }],
|
91
|
+
"accessor-pairs": [ERROR, { setWithoutGet: true, getWithoutSet: false, enforceForClassMembers: true }],
|
92
|
+
"arrow-body-style": [ERROR, AS_NEEDED, { requireReturnForObjectLiteral: true }],
|
163
93
|
"block-scoped-var": ERROR,
|
164
94
|
camelcase: OFF,
|
165
95
|
"capitalized-comments": OFF,
|
166
96
|
"class-methods-use-this": OFF,
|
167
97
|
complexity: OFF,
|
168
|
-
"consistent-return": [
|
169
|
-
ERROR,
|
170
|
-
{ treatUndefinedAsUnspecified: false },
|
171
|
-
],
|
98
|
+
"consistent-return": [ERROR, { treatUndefinedAsUnspecified: false }],
|
172
99
|
"consistent-this": ERROR,
|
173
|
-
curly: [
|
174
|
-
ERROR,
|
175
|
-
MULTI,
|
176
|
-
],
|
100
|
+
curly: [ERROR, MULTI],
|
177
101
|
"default-case": OFF,
|
178
102
|
"default-case-last": ERROR,
|
179
103
|
"default-param-last": ERROR,
|
180
|
-
"dot-notation": [
|
181
|
-
|
182
|
-
{ allowKeywords: true },
|
183
|
-
],
|
184
|
-
eqeqeq: [
|
185
|
-
ERROR,
|
186
|
-
ALWAYS,
|
187
|
-
],
|
104
|
+
"dot-notation": [ERROR, { allowKeywords: true }],
|
105
|
+
eqeqeq: [ERROR, ALWAYS],
|
188
106
|
"func-name-matching": OFF,
|
189
107
|
"func-names": OFF,
|
190
108
|
"func-style": OFF,
|
@@ -193,15 +111,8 @@ export default [
|
|
193
111
|
"id-denylist": OFF,
|
194
112
|
"id-length": OFF,
|
195
113
|
"id-match": OFF,
|
196
|
-
"init-declarations": [
|
197
|
-
|
198
|
-
ALWAYS,
|
199
|
-
],
|
200
|
-
"logical-assignment-operators": [
|
201
|
-
ERROR,
|
202
|
-
ALWAYS,
|
203
|
-
{ enforceForIfStatements: true },
|
204
|
-
],
|
114
|
+
"init-declarations": [ERROR, ALWAYS],
|
115
|
+
"logical-assignment-operators": [ERROR, ALWAYS, { enforceForIfStatements: true }],
|
205
116
|
"max-classes-per-file": OFF,
|
206
117
|
"max-depth": OFF,
|
207
118
|
"max-lines": OFF,
|
@@ -213,13 +124,7 @@ export default [
|
|
213
124
|
"new-cap": OFF,
|
214
125
|
"no-alert": ERROR,
|
215
126
|
"no-array-constructor": ERROR,
|
216
|
-
"no-bitwise": [
|
217
|
-
ERROR,
|
218
|
-
{
|
219
|
-
allow: [],
|
220
|
-
int32Hint: true,
|
221
|
-
},
|
222
|
-
],
|
127
|
+
"no-bitwise": [ERROR, { allow: [], int32Hint: true }],
|
223
128
|
"no-caller": ERROR,
|
224
129
|
"no-case-declarations": ERROR,
|
225
130
|
"no-console": OFF,
|
@@ -227,34 +132,16 @@ export default [
|
|
227
132
|
"no-delete-var": ERROR,
|
228
133
|
"no-div-regex": ERROR,
|
229
134
|
"no-else-return": OFF,
|
230
|
-
"no-empty": [
|
231
|
-
|
232
|
-
{ allowEmptyCatch: false },
|
233
|
-
],
|
234
|
-
"no-empty-function": [
|
235
|
-
ERROR,
|
236
|
-
{ allow: ["constructors"] },
|
237
|
-
],
|
135
|
+
"no-empty": [ERROR, { allowEmptyCatch: false }],
|
136
|
+
"no-empty-function": [ERROR, { allow: ["constructors"] }],
|
238
137
|
"no-empty-static-block": ERROR,
|
239
138
|
"no-eq-null": ERROR,
|
240
|
-
"no-eval": [
|
241
|
-
|
242
|
-
{ allowIndirect: false },
|
243
|
-
],
|
244
|
-
"no-extend-native": [
|
245
|
-
ERROR,
|
246
|
-
{ exceptions: [] },
|
247
|
-
],
|
139
|
+
"no-eval": [ERROR, { allowIndirect: false }],
|
140
|
+
"no-extend-native": [ERROR, { exceptions: [] }],
|
248
141
|
"no-extra-bind": ERROR,
|
249
|
-
"no-extra-boolean-cast": [
|
250
|
-
ERROR,
|
251
|
-
{ enforceForLogicalOperands: true },
|
252
|
-
],
|
142
|
+
"no-extra-boolean-cast": [ERROR, { enforceForLogicalOperands: true }],
|
253
143
|
"no-extra-label": ERROR,
|
254
|
-
"no-global-assign": [
|
255
|
-
ERROR,
|
256
|
-
{ exceptions: [] },
|
257
|
-
],
|
144
|
+
"no-global-assign": [ERROR, { exceptions: [] }],
|
258
145
|
"no-implicit-coercion": [
|
259
146
|
ERROR,
|
260
147
|
{
|
@@ -268,20 +155,14 @@ export default [
|
|
268
155
|
"no-implicit-globals": OFF,
|
269
156
|
"no-implied-eval": ERROR,
|
270
157
|
"no-inline-comments": OFF,
|
271
|
-
"no-invalid-this": [
|
272
|
-
ERROR,
|
273
|
-
{ capIsConstructor: false },
|
274
|
-
],
|
158
|
+
"no-invalid-this": [ERROR, { capIsConstructor: false }],
|
275
159
|
"no-iterator": ERROR,
|
276
160
|
"no-label-var": ERROR,
|
277
161
|
"no-lone-blocks": ERROR,
|
278
162
|
"no-lonely-if": OFF,
|
279
163
|
"no-loop-func": ERROR,
|
280
164
|
"no-magic-numbers": OFF,
|
281
|
-
"no-multi-assign": [
|
282
|
-
ERROR,
|
283
|
-
{ ignoreNonDeclaration: false },
|
284
|
-
],
|
165
|
+
"no-multi-assign": [ERROR, { ignoreNonDeclaration: false }],
|
285
166
|
"no-multi-str": ERROR,
|
286
167
|
"no-negated-condition": OFF,
|
287
168
|
"no-nested-ternary": OFF,
|
@@ -292,38 +173,19 @@ export default [
|
|
292
173
|
"no-object-constructor": ERROR,
|
293
174
|
"no-octal": ERROR,
|
294
175
|
"no-octal-escape": ERROR,
|
295
|
-
"no-param-reassign": [
|
296
|
-
|
297
|
-
{
|
298
|
-
props: true,
|
299
|
-
ignorePropertyModificationsFor: [],
|
300
|
-
ignorePropertyModificationsForRegex: [],
|
301
|
-
},
|
302
|
-
],
|
303
|
-
"no-plusplus": [
|
304
|
-
ERROR,
|
305
|
-
{ allowForLoopAfterthoughts: true },
|
306
|
-
],
|
176
|
+
"no-param-reassign": [ERROR, { props: true, ignorePropertyModificationsFor: [], ignorePropertyModificationsForRegex: [] }],
|
177
|
+
"no-plusplus": [ERROR, { allowForLoopAfterthoughts: true }],
|
307
178
|
"no-proto": ERROR,
|
308
|
-
"no-redeclare": [
|
309
|
-
ERROR,
|
310
|
-
{ builtinGlobals: true },
|
311
|
-
],
|
179
|
+
"no-redeclare": [ERROR, { builtinGlobals: true }],
|
312
180
|
"no-regex-spaces": OFF,
|
313
181
|
"no-restricted-exports": OFF,
|
314
182
|
"no-restricted-globals": OFF,
|
315
183
|
"no-restricted-imports": OFF,
|
316
184
|
"no-restricted-properties": OFF,
|
317
185
|
"no-restricted-syntax": OFF,
|
318
|
-
"no-return-assign": [
|
319
|
-
ERROR,
|
320
|
-
ALWAYS,
|
321
|
-
],
|
186
|
+
"no-return-assign": [ERROR, ALWAYS],
|
322
187
|
"no-script-url": ERROR,
|
323
|
-
"no-sequences": [
|
324
|
-
ERROR,
|
325
|
-
{ allowInParentheses: true },
|
326
|
-
],
|
188
|
+
"no-sequences": [ERROR, { allowInParentheses: true }],
|
327
189
|
"no-shadow": OFF,
|
328
190
|
"no-shadow-restricted-names": ERROR,
|
329
191
|
"no-ternary": OFF,
|
@@ -331,10 +193,7 @@ export default [
|
|
331
193
|
"no-undef-init": ERROR,
|
332
194
|
"no-undefined": OFF,
|
333
195
|
"no-underscore-dangle": OFF,
|
334
|
-
"no-unneeded-ternary": [
|
335
|
-
ERROR,
|
336
|
-
{ defaultAssignment: false },
|
337
|
-
],
|
196
|
+
"no-unneeded-ternary": [ERROR, { defaultAssignment: false }],
|
338
197
|
"no-unused-expressions": [
|
339
198
|
ERROR,
|
340
199
|
{
|
@@ -347,38 +206,17 @@ export default [
|
|
347
206
|
"no-unused-labels": ERROR,
|
348
207
|
"no-useless-call": ERROR,
|
349
208
|
"no-useless-catch": ERROR,
|
350
|
-
"no-useless-computed-key": [
|
351
|
-
ERROR,
|
352
|
-
{ enforceForClassMembers: true },
|
353
|
-
],
|
209
|
+
"no-useless-computed-key": [ERROR, { enforceForClassMembers: true }],
|
354
210
|
"no-useless-concat": ERROR,
|
355
211
|
"no-useless-constructor": ERROR,
|
356
212
|
"no-useless-escape": ERROR,
|
357
|
-
"no-useless-rename": [
|
358
|
-
ERROR,
|
359
|
-
{
|
360
|
-
ignoreImport: false,
|
361
|
-
ignoreExport: false,
|
362
|
-
ignoreDestructuring: false,
|
363
|
-
},
|
364
|
-
],
|
213
|
+
"no-useless-rename": [ERROR, { ignoreImport: false, ignoreExport: false, ignoreDestructuring: false }],
|
365
214
|
"no-useless-return": ERROR,
|
366
215
|
"no-var": ERROR,
|
367
|
-
"no-void": [
|
368
|
-
ERROR,
|
369
|
-
{ allowAsStatement: true },
|
370
|
-
],
|
216
|
+
"no-void": [ERROR, { allowAsStatement: true }],
|
371
217
|
"no-warning-comments": OFF,
|
372
218
|
"no-with": ERROR,
|
373
|
-
"object-shorthand": [
|
374
|
-
ERROR,
|
375
|
-
ALWAYS,
|
376
|
-
{
|
377
|
-
avoidQuotes: true,
|
378
|
-
ignoreConstructors: false,
|
379
|
-
avoidExplicitReturnArrows: false,
|
380
|
-
},
|
381
|
-
],
|
219
|
+
"object-shorthand": [ERROR, ALWAYS, { avoidQuotes: true, ignoreConstructors: false, avoidExplicitReturnArrows: false }],
|
382
220
|
"one-var": [
|
383
221
|
ERROR,
|
384
222
|
{
|
@@ -388,58 +226,24 @@ export default [
|
|
388
226
|
separateRequires: true,
|
389
227
|
},
|
390
228
|
],
|
391
|
-
"operator-assignment": [
|
392
|
-
|
393
|
-
ALWAYS,
|
394
|
-
],
|
395
|
-
"prefer-arrow-callback": [
|
396
|
-
ERROR,
|
397
|
-
{
|
398
|
-
allowNamedFunctions: false,
|
399
|
-
allowUnboundThis: true,
|
400
|
-
},
|
401
|
-
],
|
229
|
+
"operator-assignment": [ERROR, ALWAYS],
|
230
|
+
"prefer-arrow-callback": [ERROR, { allowNamedFunctions: false, allowUnboundThis: true }],
|
402
231
|
"prefer-const": [
|
403
232
|
ERROR,
|
404
|
-
{
|
405
|
-
destructuring: ALL,
|
406
|
-
ignoreReadBeforeAssign: false,
|
407
|
-
},
|
408
|
-
],
|
409
|
-
"prefer-destructuring": [
|
410
|
-
ERROR,
|
411
|
-
{
|
412
|
-
VariableDeclarator: {
|
413
|
-
array: true,
|
414
|
-
object: true,
|
415
|
-
},
|
416
|
-
AssignmentExpression: {
|
417
|
-
array: false,
|
418
|
-
object: false,
|
419
|
-
},
|
420
|
-
},
|
421
|
-
{ enforceForRenamedProperties: true },
|
233
|
+
{ destructuring: ALL, ignoreReadBeforeAssign: false },
|
422
234
|
],
|
235
|
+
"prefer-destructuring": [ERROR, { VariableDeclarator: { array: true, object: true }, AssignmentExpression: { array: false, object: false } }, { enforceForRenamedProperties: true }],
|
423
236
|
"prefer-exponentiation-operator": ERROR,
|
424
237
|
"prefer-named-capture-group": OFF,
|
425
238
|
"prefer-numeric-literals": ERROR,
|
426
239
|
"prefer-object-has-own": ERROR,
|
427
240
|
"prefer-object-spread": ERROR,
|
428
|
-
"prefer-promise-reject-errors": [
|
429
|
-
|
430
|
-
{ allowEmptyReject: false },
|
431
|
-
],
|
432
|
-
"prefer-regex-literals": [
|
433
|
-
ERROR,
|
434
|
-
{ disallowRedundantWrapping: true },
|
435
|
-
],
|
241
|
+
"prefer-promise-reject-errors": [ERROR, { allowEmptyReject: false }],
|
242
|
+
"prefer-regex-literals": [ERROR, { disallowRedundantWrapping: true }],
|
436
243
|
"prefer-rest-params": ERROR,
|
437
244
|
"prefer-spread": ERROR,
|
438
245
|
"prefer-template": ERROR,
|
439
|
-
radix: [
|
440
|
-
ERROR,
|
441
|
-
AS_NEEDED,
|
442
|
-
],
|
246
|
+
radix: [ERROR, AS_NEEDED],
|
443
247
|
"require-await": ERROR,
|
444
248
|
"require-unicode-regexp": ERROR,
|
445
249
|
"require-yield": ERROR,
|
@@ -449,14 +253,7 @@ export default [
|
|
449
253
|
strict: OFF,
|
450
254
|
"symbol-description": OFF,
|
451
255
|
"vars-on-top": ERROR,
|
452
|
-
yoda: [
|
453
|
-
ERROR,
|
454
|
-
NEVER,
|
455
|
-
{
|
456
|
-
exceptRange: false,
|
457
|
-
onlyEquality: false,
|
458
|
-
},
|
459
|
-
],
|
256
|
+
yoda: [ERROR, NEVER, { exceptRange: false, onlyEquality: false }],
|
460
257
|
"unicode-bom": OFF,
|
461
258
|
},
|
462
259
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,SAAS,EACT,WAAW,EACX,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,SAAS,EACT,WAAW,EACX,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAGE,uBAAuB,EAAE,CAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;QAC/F,mBAAmB,EAAE,KAAK;QAC1B,eAAe,EAAE,KAAK;QACtB,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;QAClD,2BAA2B,EAAE,KAAK;QAClC,kBAAkB,EAAE,K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E,GAAG;KAGnB;CAC2B,CAAC"}
|
@@ -225,24 +225,24 @@ declare const _default: readonly ["stylistic", {
|
|
225
225
|
}];
|
226
226
|
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
227
227
|
readonly ObjectExpression: {
|
228
|
+
readonly consistent: true;
|
228
229
|
readonly multiline: true;
|
229
230
|
readonly minProperties: 4;
|
230
|
-
readonly consistent: true;
|
231
231
|
};
|
232
232
|
readonly ObjectPattern: {
|
233
|
+
readonly consistent: true;
|
233
234
|
readonly multiline: true;
|
234
235
|
readonly minProperties: 4;
|
235
|
-
readonly consistent: true;
|
236
236
|
};
|
237
237
|
readonly ImportDeclaration: {
|
238
|
+
readonly consistent: true;
|
238
239
|
readonly multiline: true;
|
239
240
|
readonly minProperties: 4;
|
240
|
-
readonly consistent: true;
|
241
241
|
};
|
242
242
|
readonly ExportDeclaration: {
|
243
|
+
readonly consistent: true;
|
243
244
|
readonly multiline: true;
|
244
245
|
readonly minProperties: 4;
|
245
|
-
readonly consistent: true;
|
246
246
|
};
|
247
247
|
}];
|
248
248
|
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EnableStylistic.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,
|
1
|
+
{"version":3,"file":"EnableStylistic.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,wBAuQ+B"}
|