linted 16.0.4 → 16.0.5-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/statics/rules/presets/Html.js +2 -2
- package/dist/statics/rules/presets/Html.js.map +1 -1
- package/dist/statics/rules/presets/Js.js +2 -2
- package/dist/statics/rules/presets/Js.js.map +1 -1
- package/dist/statics/rules/presets/Json.js +2 -2
- package/dist/statics/rules/presets/Json.js.map +1 -1
- package/dist/statics/rules/presets/Jsonc.js +1 -1
- package/dist/statics/rules/presets/Jsonc.js.map +1 -1
- package/dist/statics/rules/presets/Md.js +1 -1
- package/dist/statics/rules/presets/Md.js.map +1 -1
- package/dist/statics/rules/presets/Mocha.js +2 -2
- package/dist/statics/rules/presets/Mocha.js.map +1 -1
- package/dist/statics/rules/presets/Svelte.js +5 -5
- package/dist/statics/rules/presets/Svelte.js.map +1 -1
- package/dist/statics/rules/presets/Ts.js +4 -4
- package/dist/statics/rules/presets/Ts.js.map +1 -1
- package/dist/statics/rules/presets/Yml.js +2 -2
- package/dist/statics/rules/presets/Yml.js.map +1 -1
- package/dist/statics/rules/presets/html/Enable.d.ts +5 -0
- package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Enable.js +7 -0
- package/dist/statics/rules/presets/html/Enable.js.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.js +8 -0
- package/dist/statics/rules/presets/html/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/index.d.ts +8 -0
- package/dist/statics/rules/presets/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/index.js +2 -0
- package/dist/statics/rules/presets/index.js.map +1 -0
- package/dist/statics/rules/presets/js/Enable.d.ts +348 -0
- package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/Enable.js +463 -0
- package/dist/statics/rules/presets/js/Enable.js.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +414 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js +664 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -0
- package/dist/statics/rules/presets/json/Enable.d.ts +27 -0
- package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/Enable.js +31 -0
- package/dist/statics/rules/presets/json/Enable.js.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts +50 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.js +92 -0
- package/dist/statics/rules/presets/json/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts +6 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js +13 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -0
- package/dist/statics/rules/presets/md/Enable.d.ts +38 -0
- package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/md/Enable.js +58 -0
- package/dist/statics/rules/presets/md/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.js +7 -0
- package/dist/statics/rules/presets/mocha/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.js +8 -0
- package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts +5 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.js +9 -0
- package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts +126 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.js +179 -0
- package/dist/statics/rules/presets/svelte/Enable.js.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts +8 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.js +14 -0
- package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts +18 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js +22 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts +28 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.js +32 -0
- package/dist/statics/rules/presets/ts/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts +262 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.js +496 -0
- package/dist/statics/rules/presets/ts/Enable.js.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts +72 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.js +107 -0
- package/dist/statics/rules/presets/ts/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts +39 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.js +69 -0
- package/dist/statics/rules/presets/yml/Enable.js.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts +37 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.js +67 -0
- package/dist/statics/rules/presets/yml/EnableX.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -8
- package/src/statics/rules/presets/Html.ts +3 -3
- package/src/statics/rules/presets/Js.ts +3 -3
- package/src/statics/rules/presets/Json.ts +3 -3
- package/src/statics/rules/presets/Jsonc.ts +2 -2
- package/src/statics/rules/presets/Md.ts +2 -2
- package/src/statics/rules/presets/Mocha.ts +3 -3
- package/src/statics/rules/presets/Svelte.ts +6 -6
- package/src/statics/rules/presets/Ts.ts +5 -5
- package/src/statics/rules/presets/Yml.ts +3 -3
- package/src/statics/rules/presets/{entries/index.ts → index.ts} +1 -1
- /package/src/statics/rules/presets/{entries/html → html}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/html → html}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/EnableStylistic.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/jsonc → jsonc}/OverrideJson.ts +0 -0
- /package/src/statics/rules/presets/{entries/md → md}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableJS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableTS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableCompiler.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/EnableX.ts +0 -0
@@ -0,0 +1,664 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Stylistic }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, ALWAYS_MULTILINE, AS_NEEDED, STRICT, ALL, STAR, LAST, BEFORE, AFTER, BELOW, BESIDE, INSIDE, DOUBLE, }, } = Strings;
|
3
|
+
export default [
|
4
|
+
Stylistic,
|
5
|
+
{
|
6
|
+
"@stylistic/array-bracket-newline": [
|
7
|
+
ERROR,
|
8
|
+
{
|
9
|
+
multiline: true,
|
10
|
+
minItems: null,
|
11
|
+
},
|
12
|
+
],
|
13
|
+
"@stylistic/array-bracket-spacing": [
|
14
|
+
ERROR,
|
15
|
+
NEVER,
|
16
|
+
{
|
17
|
+
singleValue: false,
|
18
|
+
objectsInArrays: false,
|
19
|
+
arraysInArrays: false,
|
20
|
+
},
|
21
|
+
],
|
22
|
+
"@stylistic/array-element-newline": [
|
23
|
+
ERROR,
|
24
|
+
{
|
25
|
+
ArrayExpression: {
|
26
|
+
consistent: true,
|
27
|
+
multiline: true,
|
28
|
+
minItems: 3,
|
29
|
+
},
|
30
|
+
ArrayPattern: {
|
31
|
+
consistent: true,
|
32
|
+
multiline: true,
|
33
|
+
minItems: 4,
|
34
|
+
},
|
35
|
+
},
|
36
|
+
],
|
37
|
+
"@stylistic/arrow-parens": [
|
38
|
+
ERROR,
|
39
|
+
AS_NEEDED,
|
40
|
+
{ requireForBlockBody: false },
|
41
|
+
],
|
42
|
+
"@stylistic/arrow-spacing": [
|
43
|
+
ERROR,
|
44
|
+
{
|
45
|
+
before: true,
|
46
|
+
after: true,
|
47
|
+
},
|
48
|
+
],
|
49
|
+
"@stylistic/block-spacing": [
|
50
|
+
ERROR,
|
51
|
+
ALWAYS,
|
52
|
+
],
|
53
|
+
"@stylistic/brace-style": [
|
54
|
+
ERROR,
|
55
|
+
"stroustrup",
|
56
|
+
{ allowSingleLine: true },
|
57
|
+
],
|
58
|
+
"@stylistic/comma-dangle": [
|
59
|
+
ERROR,
|
60
|
+
ALWAYS_MULTILINE,
|
61
|
+
],
|
62
|
+
"@stylistic/comma-spacing": [
|
63
|
+
ERROR,
|
64
|
+
{
|
65
|
+
before: false,
|
66
|
+
after: true,
|
67
|
+
},
|
68
|
+
],
|
69
|
+
"@stylistic/comma-style": [
|
70
|
+
ERROR,
|
71
|
+
LAST,
|
72
|
+
{
|
73
|
+
exceptions: {
|
74
|
+
ArrayExpression: false,
|
75
|
+
ArrayPattern: false,
|
76
|
+
ArrowFunctionExpression: false,
|
77
|
+
CallExpression: false,
|
78
|
+
FunctionDeclaration: false,
|
79
|
+
FunctionExpression: false,
|
80
|
+
ImportDeclaration: false,
|
81
|
+
ObjectExpression: false,
|
82
|
+
ObjectPattern: false,
|
83
|
+
VariableDeclaration: false,
|
84
|
+
NewExpression: false,
|
85
|
+
},
|
86
|
+
},
|
87
|
+
],
|
88
|
+
"@stylistic/computed-property-spacing": [
|
89
|
+
ERROR,
|
90
|
+
NEVER,
|
91
|
+
{ enforceForClassMembers: true },
|
92
|
+
],
|
93
|
+
"@stylistic/dot-location": [
|
94
|
+
ERROR,
|
95
|
+
"property",
|
96
|
+
],
|
97
|
+
"@stylistic/eol-last": [
|
98
|
+
ERROR,
|
99
|
+
ALWAYS,
|
100
|
+
],
|
101
|
+
"@stylistic/function-call-argument-newline": [
|
102
|
+
ERROR,
|
103
|
+
ALWAYS,
|
104
|
+
],
|
105
|
+
"@stylistic/function-call-spacing": [
|
106
|
+
ERROR,
|
107
|
+
NEVER,
|
108
|
+
],
|
109
|
+
"@stylistic/function-paren-newline": [
|
110
|
+
ERROR,
|
111
|
+
"multiline-arguments",
|
112
|
+
],
|
113
|
+
"@stylistic/generator-star-spacing": [
|
114
|
+
ERROR,
|
115
|
+
{
|
116
|
+
before: true,
|
117
|
+
after: false,
|
118
|
+
},
|
119
|
+
],
|
120
|
+
"@stylistic/implicit-arrow-linebreak": [
|
121
|
+
ERROR,
|
122
|
+
BESIDE,
|
123
|
+
],
|
124
|
+
"@stylistic/indent": [
|
125
|
+
ERROR,
|
126
|
+
2,
|
127
|
+
{
|
128
|
+
ignoredNodes: [],
|
129
|
+
SwitchCase: 1,
|
130
|
+
VariableDeclarator: {
|
131
|
+
"var": 0,
|
132
|
+
let: 0,
|
133
|
+
"const": 0,
|
134
|
+
},
|
135
|
+
outerIIFEBody: 0,
|
136
|
+
MemberExpression: 1,
|
137
|
+
FunctionDeclaration: {
|
138
|
+
parameters: 1,
|
139
|
+
body: 1,
|
140
|
+
},
|
141
|
+
FunctionExpression: {
|
142
|
+
parameters: 1,
|
143
|
+
body: 1,
|
144
|
+
},
|
145
|
+
StaticBlock: { body: 1 },
|
146
|
+
CallExpression: { arguments: 1 },
|
147
|
+
ArrayExpression: 1,
|
148
|
+
ObjectExpression: 1,
|
149
|
+
ImportDeclaration: 1,
|
150
|
+
flatTernaryExpressions: false,
|
151
|
+
offsetTernaryExpressions: true,
|
152
|
+
ignoreComments: false,
|
153
|
+
},
|
154
|
+
],
|
155
|
+
"@stylistic/indent-binary-ops": [
|
156
|
+
ERROR,
|
157
|
+
2,
|
158
|
+
],
|
159
|
+
"@stylistic/key-spacing": [
|
160
|
+
ERROR,
|
161
|
+
{
|
162
|
+
beforeColon: false,
|
163
|
+
afterColon: true,
|
164
|
+
mode: STRICT,
|
165
|
+
},
|
166
|
+
],
|
167
|
+
"@stylistic/keyword-spacing": [
|
168
|
+
ERROR,
|
169
|
+
{
|
170
|
+
before: true,
|
171
|
+
after: true,
|
172
|
+
overrides: {},
|
173
|
+
},
|
174
|
+
],
|
175
|
+
"@stylistic/line-comment-position": OFF,
|
176
|
+
"@stylistic/lines-around-comment": [
|
177
|
+
ERROR,
|
178
|
+
{
|
179
|
+
beforeBlockComment: true,
|
180
|
+
afterBlockComment: false,
|
181
|
+
beforeLineComment: true,
|
182
|
+
afterLineComment: false,
|
183
|
+
allowBlockStart: true,
|
184
|
+
allowBlockEnd: true,
|
185
|
+
allowObjectStart: true,
|
186
|
+
allowObjectEnd: true,
|
187
|
+
allowArrayStart: true,
|
188
|
+
allowArrayEnd: true,
|
189
|
+
allowClassStart: true,
|
190
|
+
allowClassEnd: true,
|
191
|
+
applyDefaultIgnorePatterns: true,
|
192
|
+
afterHashbangComment: false,
|
193
|
+
allowEnumEnd: false,
|
194
|
+
allowEnumStart: false,
|
195
|
+
allowInterfaceEnd: false,
|
196
|
+
allowInterfaceStart: false,
|
197
|
+
allowModuleEnd: false,
|
198
|
+
allowModuleStart: false,
|
199
|
+
allowTypeEnd: false,
|
200
|
+
allowTypeStart: false,
|
201
|
+
},
|
202
|
+
],
|
203
|
+
"@stylistic/lines-between-class-members": [
|
204
|
+
ERROR,
|
205
|
+
{
|
206
|
+
enforce: [
|
207
|
+
{
|
208
|
+
blankLine: NEVER,
|
209
|
+
prev: "field",
|
210
|
+
next: "field",
|
211
|
+
},
|
212
|
+
{
|
213
|
+
blankLine: ALWAYS,
|
214
|
+
prev: "field",
|
215
|
+
next: "method",
|
216
|
+
},
|
217
|
+
{
|
218
|
+
blankLine: ALWAYS,
|
219
|
+
prev: "method",
|
220
|
+
next: STAR,
|
221
|
+
},
|
222
|
+
],
|
223
|
+
},
|
224
|
+
{
|
225
|
+
exceptAfterSingleLine: false,
|
226
|
+
exceptAfterOverload: true,
|
227
|
+
},
|
228
|
+
],
|
229
|
+
"@stylistic/max-len": [
|
230
|
+
ERROR,
|
231
|
+
{
|
232
|
+
code: 150,
|
233
|
+
tabWidth: 2,
|
234
|
+
ignoreComments: true,
|
235
|
+
ignoreTrailingComments: true,
|
236
|
+
ignoreUrls: true,
|
237
|
+
ignoreStrings: true,
|
238
|
+
ignoreTemplateLiterals: true,
|
239
|
+
ignoreRegExpLiterals: true,
|
240
|
+
},
|
241
|
+
],
|
242
|
+
"@stylistic/max-statements-per-line": [
|
243
|
+
ERROR,
|
244
|
+
{ max: 1 },
|
245
|
+
],
|
246
|
+
"@stylistic/member-delimiter-style": [
|
247
|
+
ERROR,
|
248
|
+
{
|
249
|
+
multiline: {
|
250
|
+
delimiter: "semi",
|
251
|
+
requireLast: true,
|
252
|
+
},
|
253
|
+
singleline: {
|
254
|
+
delimiter: "semi",
|
255
|
+
requireLast: false,
|
256
|
+
},
|
257
|
+
multilineDetection: "brackets",
|
258
|
+
},
|
259
|
+
],
|
260
|
+
"@stylistic/multiline-comment-style": OFF,
|
261
|
+
"@stylistic/multiline-ternary": [
|
262
|
+
ERROR,
|
263
|
+
ALWAYS_MULTILINE,
|
264
|
+
],
|
265
|
+
"@stylistic/new-parens": [
|
266
|
+
ERROR,
|
267
|
+
NEVER,
|
268
|
+
],
|
269
|
+
"@stylistic/newline-per-chained-call": [
|
270
|
+
ERROR,
|
271
|
+
{ ignoreChainWithDepth: 2 },
|
272
|
+
],
|
273
|
+
"@stylistic/no-confusing-arrow": OFF,
|
274
|
+
"@stylistic/no-extra-parens": [
|
275
|
+
ERROR,
|
276
|
+
ALL,
|
277
|
+
{
|
278
|
+
conditionalAssign: true,
|
279
|
+
returnAssign: true,
|
280
|
+
nestedBinaryExpressions: true,
|
281
|
+
ternaryOperandBinaryExpressions: true,
|
282
|
+
enforceForArrowConditionals: true,
|
283
|
+
enforceForSequenceExpressions: true,
|
284
|
+
enforceForNewInMemberExpressions: true,
|
285
|
+
enforceForFunctionPrototypeMethods: true,
|
286
|
+
},
|
287
|
+
],
|
288
|
+
"@stylistic/no-extra-semi": ERROR,
|
289
|
+
"@stylistic/no-floating-decimal": ERROR,
|
290
|
+
"@stylistic/no-mixed-operators": OFF,
|
291
|
+
"@stylistic/no-mixed-spaces-and-tabs": ERROR,
|
292
|
+
"@stylistic/no-multi-spaces": [
|
293
|
+
ERROR,
|
294
|
+
{
|
295
|
+
ignoreEOLComments: false,
|
296
|
+
exceptions: { Property: false },
|
297
|
+
includeTabs: true,
|
298
|
+
},
|
299
|
+
],
|
300
|
+
"@stylistic/no-multiple-empty-lines": [
|
301
|
+
ERROR,
|
302
|
+
{
|
303
|
+
max: 1,
|
304
|
+
maxEOF: 1,
|
305
|
+
maxBOF: 0,
|
306
|
+
},
|
307
|
+
],
|
308
|
+
"@stylistic/no-tabs": [
|
309
|
+
ERROR,
|
310
|
+
{ allowIndentationTabs: false },
|
311
|
+
],
|
312
|
+
"@stylistic/no-trailing-spaces": [
|
313
|
+
ERROR,
|
314
|
+
{
|
315
|
+
skipBlankLines: false,
|
316
|
+
ignoreComments: false,
|
317
|
+
},
|
318
|
+
],
|
319
|
+
"@stylistic/no-whitespace-before-property": ERROR,
|
320
|
+
"@stylistic/nonblock-statement-body-position": [
|
321
|
+
ERROR,
|
322
|
+
BELOW,
|
323
|
+
{
|
324
|
+
overrides: {
|
325
|
+
"if": BELOW,
|
326
|
+
"else": BELOW,
|
327
|
+
"while": BELOW,
|
328
|
+
"do": BELOW,
|
329
|
+
"for": BELOW,
|
330
|
+
},
|
331
|
+
},
|
332
|
+
],
|
333
|
+
"@stylistic/object-curly-newline": [
|
334
|
+
ERROR,
|
335
|
+
{
|
336
|
+
ObjectExpression: {
|
337
|
+
multiline: true,
|
338
|
+
minProperties: 3,
|
339
|
+
consistent: true,
|
340
|
+
},
|
341
|
+
ObjectPattern: {
|
342
|
+
multiline: true,
|
343
|
+
minProperties: 3,
|
344
|
+
consistent: true,
|
345
|
+
},
|
346
|
+
ImportDeclaration: {
|
347
|
+
multiline: true,
|
348
|
+
minProperties: 3,
|
349
|
+
consistent: true,
|
350
|
+
},
|
351
|
+
ExportDeclaration: {
|
352
|
+
multiline: true,
|
353
|
+
minProperties: 3,
|
354
|
+
consistent: true,
|
355
|
+
},
|
356
|
+
},
|
357
|
+
],
|
358
|
+
"@stylistic/object-curly-spacing": [
|
359
|
+
ERROR,
|
360
|
+
ALWAYS,
|
361
|
+
{
|
362
|
+
arraysInObjects: true,
|
363
|
+
objectsInObjects: true,
|
364
|
+
},
|
365
|
+
],
|
366
|
+
"@stylistic/object-property-newline": [
|
367
|
+
ERROR,
|
368
|
+
{ allowAllPropertiesOnSameLine: true },
|
369
|
+
],
|
370
|
+
"@stylistic/one-var-declaration-per-line": [
|
371
|
+
ERROR,
|
372
|
+
ALWAYS,
|
373
|
+
],
|
374
|
+
"@stylistic/operator-linebreak": [
|
375
|
+
ERROR,
|
376
|
+
BEFORE,
|
377
|
+
{ overrides: { "=": AFTER } },
|
378
|
+
],
|
379
|
+
"@stylistic/padded-blocks": [
|
380
|
+
ERROR,
|
381
|
+
{
|
382
|
+
blocks: NEVER,
|
383
|
+
classes: NEVER,
|
384
|
+
switches: NEVER,
|
385
|
+
},
|
386
|
+
{ allowSingleLineBlocks: true },
|
387
|
+
],
|
388
|
+
"@stylistic/padding-line-between-statements": [
|
389
|
+
ERROR,
|
390
|
+
{
|
391
|
+
blankLine: ALWAYS,
|
392
|
+
prev: "directive",
|
393
|
+
next: STAR,
|
394
|
+
},
|
395
|
+
{
|
396
|
+
blankLine: NEVER,
|
397
|
+
prev: "directive",
|
398
|
+
next: "directive",
|
399
|
+
},
|
400
|
+
{
|
401
|
+
blankLine: ALWAYS,
|
402
|
+
prev: [
|
403
|
+
"import",
|
404
|
+
"cjs-import",
|
405
|
+
],
|
406
|
+
next: STAR,
|
407
|
+
},
|
408
|
+
{
|
409
|
+
blankLine: NEVER,
|
410
|
+
prev: [
|
411
|
+
"import",
|
412
|
+
"cjs-import",
|
413
|
+
],
|
414
|
+
next: [
|
415
|
+
"import",
|
416
|
+
"cjs-import",
|
417
|
+
],
|
418
|
+
},
|
419
|
+
{
|
420
|
+
blankLine: ALWAYS,
|
421
|
+
prev: [
|
422
|
+
"class",
|
423
|
+
"interface",
|
424
|
+
"try",
|
425
|
+
"for",
|
426
|
+
"if",
|
427
|
+
"do",
|
428
|
+
"while",
|
429
|
+
"switch",
|
430
|
+
"block",
|
431
|
+
"block-like",
|
432
|
+
"iife",
|
433
|
+
"empty",
|
434
|
+
"debugger",
|
435
|
+
"with",
|
436
|
+
],
|
437
|
+
next: STAR,
|
438
|
+
},
|
439
|
+
{
|
440
|
+
blankLine: ALWAYS,
|
441
|
+
prev: "case",
|
442
|
+
next: STAR,
|
443
|
+
},
|
444
|
+
{
|
445
|
+
blankLine: ALWAYS,
|
446
|
+
prev: "case",
|
447
|
+
next: [
|
448
|
+
"case",
|
449
|
+
"default",
|
450
|
+
],
|
451
|
+
},
|
452
|
+
{
|
453
|
+
blankLine: ALWAYS,
|
454
|
+
prev: "default",
|
455
|
+
next: STAR,
|
456
|
+
},
|
457
|
+
{
|
458
|
+
blankLine: ALWAYS,
|
459
|
+
prev: "type",
|
460
|
+
next: STAR,
|
461
|
+
},
|
462
|
+
{
|
463
|
+
blankLine: NEVER,
|
464
|
+
prev: "type",
|
465
|
+
next: "type",
|
466
|
+
},
|
467
|
+
{
|
468
|
+
blankLine: ALWAYS,
|
469
|
+
prev: "function",
|
470
|
+
next: STAR,
|
471
|
+
},
|
472
|
+
{
|
473
|
+
blankLine: ALWAYS,
|
474
|
+
prev: "function-overload",
|
475
|
+
next: STAR,
|
476
|
+
},
|
477
|
+
{
|
478
|
+
blankLine: NEVER,
|
479
|
+
prev: "function-overload",
|
480
|
+
next: "function-overload",
|
481
|
+
},
|
482
|
+
{
|
483
|
+
blankLine: NEVER,
|
484
|
+
prev: "function-overload",
|
485
|
+
next: "function",
|
486
|
+
},
|
487
|
+
{
|
488
|
+
blankLine: ALWAYS,
|
489
|
+
prev: [
|
490
|
+
"const",
|
491
|
+
"let",
|
492
|
+
"var",
|
493
|
+
],
|
494
|
+
next: STAR,
|
495
|
+
},
|
496
|
+
{
|
497
|
+
blankLine: NEVER,
|
498
|
+
prev: [
|
499
|
+
"const",
|
500
|
+
"let",
|
501
|
+
"var",
|
502
|
+
],
|
503
|
+
next: [
|
504
|
+
"const",
|
505
|
+
"let",
|
506
|
+
"var",
|
507
|
+
],
|
508
|
+
},
|
509
|
+
{
|
510
|
+
blankLine: ALWAYS,
|
511
|
+
prev: "expression",
|
512
|
+
next: STAR,
|
513
|
+
},
|
514
|
+
{
|
515
|
+
blankLine: NEVER,
|
516
|
+
prev: "expression",
|
517
|
+
next: "expression",
|
518
|
+
},
|
519
|
+
{
|
520
|
+
blankLine: ALWAYS,
|
521
|
+
prev: STAR,
|
522
|
+
next: [
|
523
|
+
"throw",
|
524
|
+
"return",
|
525
|
+
"break",
|
526
|
+
"continue",
|
527
|
+
],
|
528
|
+
},
|
529
|
+
{
|
530
|
+
blankLine: ALWAYS,
|
531
|
+
prev: STAR,
|
532
|
+
next: [
|
533
|
+
"export",
|
534
|
+
"cjs-export",
|
535
|
+
],
|
536
|
+
},
|
537
|
+
{
|
538
|
+
blankLine: NEVER,
|
539
|
+
prev: [
|
540
|
+
"export",
|
541
|
+
"cjs-export",
|
542
|
+
],
|
543
|
+
next: [
|
544
|
+
"export",
|
545
|
+
"cjs-export",
|
546
|
+
],
|
547
|
+
},
|
548
|
+
],
|
549
|
+
"@stylistic/quote-props": [
|
550
|
+
ERROR,
|
551
|
+
AS_NEEDED,
|
552
|
+
{
|
553
|
+
keywords: true,
|
554
|
+
unnecessary: true,
|
555
|
+
numbers: false,
|
556
|
+
},
|
557
|
+
],
|
558
|
+
"@stylistic/quotes": [
|
559
|
+
ERROR,
|
560
|
+
DOUBLE,
|
561
|
+
{
|
562
|
+
avoidEscape: true,
|
563
|
+
allowTemplateLiterals: true,
|
564
|
+
},
|
565
|
+
],
|
566
|
+
"@stylistic/rest-spread-spacing": [
|
567
|
+
ERROR,
|
568
|
+
NEVER,
|
569
|
+
],
|
570
|
+
"@stylistic/semi": [
|
571
|
+
ERROR,
|
572
|
+
ALWAYS,
|
573
|
+
{
|
574
|
+
omitLastInOneLineBlock: false,
|
575
|
+
omitLastInOneLineClassBody: false,
|
576
|
+
},
|
577
|
+
],
|
578
|
+
"@stylistic/semi-spacing": [
|
579
|
+
ERROR,
|
580
|
+
{
|
581
|
+
before: false,
|
582
|
+
after: true,
|
583
|
+
},
|
584
|
+
],
|
585
|
+
"@stylistic/semi-style": [
|
586
|
+
ERROR,
|
587
|
+
LAST,
|
588
|
+
],
|
589
|
+
"@stylistic/space-before-blocks": [
|
590
|
+
ERROR,
|
591
|
+
{
|
592
|
+
functions: ALWAYS,
|
593
|
+
keywords: ALWAYS,
|
594
|
+
classes: ALWAYS,
|
595
|
+
},
|
596
|
+
],
|
597
|
+
"@stylistic/space-before-function-paren": [
|
598
|
+
ERROR,
|
599
|
+
{
|
600
|
+
anonymous: ALWAYS,
|
601
|
+
named: NEVER,
|
602
|
+
asyncArrow: ALWAYS,
|
603
|
+
},
|
604
|
+
],
|
605
|
+
"@stylistic/space-in-parens": [
|
606
|
+
ERROR,
|
607
|
+
NEVER,
|
608
|
+
],
|
609
|
+
"@stylistic/space-infix-ops": [
|
610
|
+
ERROR,
|
611
|
+
{ int32Hint: true },
|
612
|
+
],
|
613
|
+
"@stylistic/space-unary-ops": [
|
614
|
+
ERROR,
|
615
|
+
{
|
616
|
+
words: true,
|
617
|
+
nonwords: false,
|
618
|
+
overrides: {},
|
619
|
+
},
|
620
|
+
],
|
621
|
+
"@stylistic/spaced-comment": [
|
622
|
+
ERROR,
|
623
|
+
ALWAYS,
|
624
|
+
],
|
625
|
+
"@stylistic/switch-colon-spacing": [
|
626
|
+
ERROR,
|
627
|
+
{
|
628
|
+
after: true,
|
629
|
+
before: false,
|
630
|
+
},
|
631
|
+
],
|
632
|
+
"@stylistic/template-curly-spacing": [
|
633
|
+
ERROR,
|
634
|
+
NEVER,
|
635
|
+
],
|
636
|
+
"@stylistic/template-tag-spacing": [
|
637
|
+
ERROR,
|
638
|
+
NEVER,
|
639
|
+
],
|
640
|
+
"@stylistic/type-annotation-spacing": [
|
641
|
+
ERROR,
|
642
|
+
{
|
643
|
+
before: false,
|
644
|
+
after: true,
|
645
|
+
},
|
646
|
+
],
|
647
|
+
"@stylistic/type-generic-spacing": ERROR,
|
648
|
+
"@stylistic/type-named-tuple-spacing": ERROR,
|
649
|
+
"@stylistic/wrap-iife": [
|
650
|
+
ERROR,
|
651
|
+
INSIDE,
|
652
|
+
{ functionPrototypeMethods: true },
|
653
|
+
],
|
654
|
+
"@stylistic/wrap-regex": ERROR,
|
655
|
+
"@stylistic/yield-star-spacing": [
|
656
|
+
ERROR,
|
657
|
+
{
|
658
|
+
before: false,
|
659
|
+
after: true,
|
660
|
+
},
|
661
|
+
],
|
662
|
+
},
|
663
|
+
];
|
664
|
+
//# sourceMappingURL=EnableStylistic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableStylistic.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,SAAS,EAAE,EACjB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,SAAS,EACT,MAAM,EACN,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,e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,EAAE;YAC5B,KAAK;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,KAAK;gBACf,SAAS,EAAE,EAAE;aACd;SACF;QACD,2BAA2B,EAAE;YAC3B,KAAK;YACL,MAAM;SACP;QACD,iCAAiC,EAAE;YACjC,KAAK;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,KAAK;aACd;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;SACN;QACD,iCAAiC,EAAE;YACjC,KAAK;YACL,KAAK;SACN;QACD,oCAAoC,EAAE;YACpC,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;QACD,iCAAiC,EAAE,KAAK;QACxC,qCAAqC,EAAE,KAAK;QAC5C,sBAAsB,EAAE;YACtB,KAAK;YACL,MAAM;YACN,EAAE,wBAAwB,EAAE,IAAI,EAAE;SACnC;QACD,uBAAuB,EAAE,KAAK;QAC9B,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;KACF;CAC2B,CAAC"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const _default: readonly ["enable", {
|
2
|
+
readonly "jsonc/auto": "off";
|
3
|
+
readonly "jsonc/key-name-casing": "off";
|
4
|
+
readonly "jsonc/no-bigint-literals": "error";
|
5
|
+
readonly "jsonc/no-binary-expression": "error";
|
6
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
7
|
+
readonly "jsonc/no-comments": "error";
|
8
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
9
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
10
|
+
readonly "jsonc/no-infinity": "error";
|
11
|
+
readonly "jsonc/no-nan": "error";
|
12
|
+
readonly "jsonc/no-number-props": "error";
|
13
|
+
readonly "jsonc/no-numeric-separators": "error";
|
14
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
15
|
+
readonly "jsonc/no-parenthesized": "error";
|
16
|
+
readonly "jsonc/no-plus-sign": "error";
|
17
|
+
readonly "jsonc/no-regexp-literals": "error";
|
18
|
+
readonly "jsonc/no-template-literals": "error";
|
19
|
+
readonly "jsonc/no-undefined-value": "error";
|
20
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
21
|
+
readonly "jsonc/sort-array-values": "off";
|
22
|
+
readonly "jsonc/sort-keys": "off";
|
23
|
+
readonly "jsonc/valid-json-number": "error";
|
24
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
25
|
+
}];
|
26
|
+
export default _default;
|
27
|
+
//# sourceMappingURL=Enable.d.ts.map
|