linted 16.0.4 → 16.0.5-rc.1
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 +2 -2
- 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,414 @@
|
|
1
|
+
declare const _default: readonly ["stylistic", {
|
2
|
+
readonly "@stylistic/array-bracket-newline": readonly ["error", {
|
3
|
+
readonly multiline: true;
|
4
|
+
readonly minItems: null;
|
5
|
+
}];
|
6
|
+
readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
|
7
|
+
readonly singleValue: false;
|
8
|
+
readonly objectsInArrays: false;
|
9
|
+
readonly arraysInArrays: false;
|
10
|
+
}];
|
11
|
+
readonly "@stylistic/array-element-newline": readonly ["error", {
|
12
|
+
readonly ArrayExpression: {
|
13
|
+
readonly consistent: true;
|
14
|
+
readonly multiline: true;
|
15
|
+
readonly minItems: 3;
|
16
|
+
};
|
17
|
+
readonly ArrayPattern: {
|
18
|
+
readonly consistent: true;
|
19
|
+
readonly multiline: true;
|
20
|
+
readonly minItems: 4;
|
21
|
+
};
|
22
|
+
}];
|
23
|
+
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
|
24
|
+
readonly requireForBlockBody: false;
|
25
|
+
}];
|
26
|
+
readonly "@stylistic/arrow-spacing": readonly ["error", {
|
27
|
+
readonly before: true;
|
28
|
+
readonly after: true;
|
29
|
+
}];
|
30
|
+
readonly "@stylistic/block-spacing": readonly ["error", "always"];
|
31
|
+
readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
|
32
|
+
readonly allowSingleLine: true;
|
33
|
+
}];
|
34
|
+
readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
|
35
|
+
readonly "@stylistic/comma-spacing": readonly ["error", {
|
36
|
+
readonly before: false;
|
37
|
+
readonly after: true;
|
38
|
+
}];
|
39
|
+
readonly "@stylistic/comma-style": readonly ["error", "last", {
|
40
|
+
readonly exceptions: {
|
41
|
+
readonly ArrayExpression: false;
|
42
|
+
readonly ArrayPattern: false;
|
43
|
+
readonly ArrowFunctionExpression: false;
|
44
|
+
readonly CallExpression: false;
|
45
|
+
readonly FunctionDeclaration: false;
|
46
|
+
readonly FunctionExpression: false;
|
47
|
+
readonly ImportDeclaration: false;
|
48
|
+
readonly ObjectExpression: false;
|
49
|
+
readonly ObjectPattern: false;
|
50
|
+
readonly VariableDeclaration: false;
|
51
|
+
readonly NewExpression: false;
|
52
|
+
};
|
53
|
+
}];
|
54
|
+
readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
|
55
|
+
readonly enforceForClassMembers: true;
|
56
|
+
}];
|
57
|
+
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
58
|
+
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
59
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "always"];
|
60
|
+
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
61
|
+
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
62
|
+
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
63
|
+
readonly before: true;
|
64
|
+
readonly after: false;
|
65
|
+
}];
|
66
|
+
readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
|
67
|
+
readonly "@stylistic/indent": readonly ["error", 2, {
|
68
|
+
readonly ignoredNodes: readonly [];
|
69
|
+
readonly SwitchCase: 1;
|
70
|
+
readonly VariableDeclarator: {
|
71
|
+
readonly var: 0;
|
72
|
+
readonly let: 0;
|
73
|
+
readonly const: 0;
|
74
|
+
};
|
75
|
+
readonly outerIIFEBody: 0;
|
76
|
+
readonly MemberExpression: 1;
|
77
|
+
readonly FunctionDeclaration: {
|
78
|
+
readonly parameters: 1;
|
79
|
+
readonly body: 1;
|
80
|
+
};
|
81
|
+
readonly FunctionExpression: {
|
82
|
+
readonly parameters: 1;
|
83
|
+
readonly body: 1;
|
84
|
+
};
|
85
|
+
readonly StaticBlock: {
|
86
|
+
readonly body: 1;
|
87
|
+
};
|
88
|
+
readonly CallExpression: {
|
89
|
+
readonly arguments: 1;
|
90
|
+
};
|
91
|
+
readonly ArrayExpression: 1;
|
92
|
+
readonly ObjectExpression: 1;
|
93
|
+
readonly ImportDeclaration: 1;
|
94
|
+
readonly flatTernaryExpressions: false;
|
95
|
+
readonly offsetTernaryExpressions: true;
|
96
|
+
readonly ignoreComments: false;
|
97
|
+
}];
|
98
|
+
readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
|
99
|
+
readonly "@stylistic/key-spacing": readonly ["error", {
|
100
|
+
readonly beforeColon: false;
|
101
|
+
readonly afterColon: true;
|
102
|
+
readonly mode: "strict";
|
103
|
+
}];
|
104
|
+
readonly "@stylistic/keyword-spacing": readonly ["error", {
|
105
|
+
readonly before: true;
|
106
|
+
readonly after: true;
|
107
|
+
readonly overrides: {};
|
108
|
+
}];
|
109
|
+
readonly "@stylistic/line-comment-position": "off";
|
110
|
+
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
111
|
+
readonly beforeBlockComment: true;
|
112
|
+
readonly afterBlockComment: false;
|
113
|
+
readonly beforeLineComment: true;
|
114
|
+
readonly afterLineComment: false;
|
115
|
+
readonly allowBlockStart: true;
|
116
|
+
readonly allowBlockEnd: true;
|
117
|
+
readonly allowObjectStart: true;
|
118
|
+
readonly allowObjectEnd: true;
|
119
|
+
readonly allowArrayStart: true;
|
120
|
+
readonly allowArrayEnd: true;
|
121
|
+
readonly allowClassStart: true;
|
122
|
+
readonly allowClassEnd: true;
|
123
|
+
readonly applyDefaultIgnorePatterns: true;
|
124
|
+
readonly afterHashbangComment: false;
|
125
|
+
readonly allowEnumEnd: false;
|
126
|
+
readonly allowEnumStart: false;
|
127
|
+
readonly allowInterfaceEnd: false;
|
128
|
+
readonly allowInterfaceStart: false;
|
129
|
+
readonly allowModuleEnd: false;
|
130
|
+
readonly allowModuleStart: false;
|
131
|
+
readonly allowTypeEnd: false;
|
132
|
+
readonly allowTypeStart: false;
|
133
|
+
}];
|
134
|
+
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
|
+
readonly enforce: readonly [{
|
136
|
+
readonly blankLine: "never";
|
137
|
+
readonly prev: "field";
|
138
|
+
readonly next: "field";
|
139
|
+
}, {
|
140
|
+
readonly blankLine: "always";
|
141
|
+
readonly prev: "field";
|
142
|
+
readonly next: "method";
|
143
|
+
}, {
|
144
|
+
readonly blankLine: "always";
|
145
|
+
readonly prev: "method";
|
146
|
+
readonly next: "*";
|
147
|
+
}];
|
148
|
+
}, {
|
149
|
+
readonly exceptAfterSingleLine: false;
|
150
|
+
readonly exceptAfterOverload: true;
|
151
|
+
}];
|
152
|
+
readonly "@stylistic/max-len": readonly ["error", {
|
153
|
+
readonly code: 150;
|
154
|
+
readonly tabWidth: 2;
|
155
|
+
readonly ignoreComments: true;
|
156
|
+
readonly ignoreTrailingComments: true;
|
157
|
+
readonly ignoreUrls: true;
|
158
|
+
readonly ignoreStrings: true;
|
159
|
+
readonly ignoreTemplateLiterals: true;
|
160
|
+
readonly ignoreRegExpLiterals: true;
|
161
|
+
}];
|
162
|
+
readonly "@stylistic/max-statements-per-line": readonly ["error", {
|
163
|
+
readonly max: 1;
|
164
|
+
}];
|
165
|
+
readonly "@stylistic/member-delimiter-style": readonly ["error", {
|
166
|
+
readonly multiline: {
|
167
|
+
readonly delimiter: "semi";
|
168
|
+
readonly requireLast: true;
|
169
|
+
};
|
170
|
+
readonly singleline: {
|
171
|
+
readonly delimiter: "semi";
|
172
|
+
readonly requireLast: false;
|
173
|
+
};
|
174
|
+
readonly multilineDetection: "brackets";
|
175
|
+
}];
|
176
|
+
readonly "@stylistic/multiline-comment-style": "off";
|
177
|
+
readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
|
178
|
+
readonly "@stylistic/new-parens": readonly ["error", "never"];
|
179
|
+
readonly "@stylistic/newline-per-chained-call": readonly ["error", {
|
180
|
+
readonly ignoreChainWithDepth: 2;
|
181
|
+
}];
|
182
|
+
readonly "@stylistic/no-confusing-arrow": "off";
|
183
|
+
readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
|
184
|
+
readonly conditionalAssign: true;
|
185
|
+
readonly returnAssign: true;
|
186
|
+
readonly nestedBinaryExpressions: true;
|
187
|
+
readonly ternaryOperandBinaryExpressions: true;
|
188
|
+
readonly enforceForArrowConditionals: true;
|
189
|
+
readonly enforceForSequenceExpressions: true;
|
190
|
+
readonly enforceForNewInMemberExpressions: true;
|
191
|
+
readonly enforceForFunctionPrototypeMethods: true;
|
192
|
+
}];
|
193
|
+
readonly "@stylistic/no-extra-semi": "error";
|
194
|
+
readonly "@stylistic/no-floating-decimal": "error";
|
195
|
+
readonly "@stylistic/no-mixed-operators": "off";
|
196
|
+
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
197
|
+
readonly "@stylistic/no-multi-spaces": readonly ["error", {
|
198
|
+
readonly ignoreEOLComments: false;
|
199
|
+
readonly exceptions: {
|
200
|
+
readonly Property: false;
|
201
|
+
};
|
202
|
+
readonly includeTabs: true;
|
203
|
+
}];
|
204
|
+
readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
|
205
|
+
readonly max: 1;
|
206
|
+
readonly maxEOF: 1;
|
207
|
+
readonly maxBOF: 0;
|
208
|
+
}];
|
209
|
+
readonly "@stylistic/no-tabs": readonly ["error", {
|
210
|
+
readonly allowIndentationTabs: false;
|
211
|
+
}];
|
212
|
+
readonly "@stylistic/no-trailing-spaces": readonly ["error", {
|
213
|
+
readonly skipBlankLines: false;
|
214
|
+
readonly ignoreComments: false;
|
215
|
+
}];
|
216
|
+
readonly "@stylistic/no-whitespace-before-property": "error";
|
217
|
+
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
|
218
|
+
readonly overrides: {
|
219
|
+
readonly if: "below";
|
220
|
+
readonly else: "below";
|
221
|
+
readonly while: "below";
|
222
|
+
readonly do: "below";
|
223
|
+
readonly for: "below";
|
224
|
+
};
|
225
|
+
}];
|
226
|
+
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
227
|
+
readonly ObjectExpression: {
|
228
|
+
readonly multiline: true;
|
229
|
+
readonly minProperties: 3;
|
230
|
+
readonly consistent: true;
|
231
|
+
};
|
232
|
+
readonly ObjectPattern: {
|
233
|
+
readonly multiline: true;
|
234
|
+
readonly minProperties: 3;
|
235
|
+
readonly consistent: true;
|
236
|
+
};
|
237
|
+
readonly ImportDeclaration: {
|
238
|
+
readonly multiline: true;
|
239
|
+
readonly minProperties: 3;
|
240
|
+
readonly consistent: true;
|
241
|
+
};
|
242
|
+
readonly ExportDeclaration: {
|
243
|
+
readonly multiline: true;
|
244
|
+
readonly minProperties: 3;
|
245
|
+
readonly consistent: true;
|
246
|
+
};
|
247
|
+
}];
|
248
|
+
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
249
|
+
readonly arraysInObjects: true;
|
250
|
+
readonly objectsInObjects: true;
|
251
|
+
}];
|
252
|
+
readonly "@stylistic/object-property-newline": readonly ["error", {
|
253
|
+
readonly allowAllPropertiesOnSameLine: true;
|
254
|
+
}];
|
255
|
+
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
256
|
+
readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
|
257
|
+
readonly overrides: {
|
258
|
+
readonly "=": "after";
|
259
|
+
};
|
260
|
+
}];
|
261
|
+
readonly "@stylistic/padded-blocks": readonly ["error", {
|
262
|
+
readonly blocks: "never";
|
263
|
+
readonly classes: "never";
|
264
|
+
readonly switches: "never";
|
265
|
+
}, {
|
266
|
+
readonly allowSingleLineBlocks: true;
|
267
|
+
}];
|
268
|
+
readonly "@stylistic/padding-line-between-statements": readonly ["error", {
|
269
|
+
readonly blankLine: "always";
|
270
|
+
readonly prev: "directive";
|
271
|
+
readonly next: "*";
|
272
|
+
}, {
|
273
|
+
readonly blankLine: "never";
|
274
|
+
readonly prev: "directive";
|
275
|
+
readonly next: "directive";
|
276
|
+
}, {
|
277
|
+
readonly blankLine: "always";
|
278
|
+
readonly prev: readonly ["import", "cjs-import"];
|
279
|
+
readonly next: "*";
|
280
|
+
}, {
|
281
|
+
readonly blankLine: "never";
|
282
|
+
readonly prev: readonly ["import", "cjs-import"];
|
283
|
+
readonly next: readonly ["import", "cjs-import"];
|
284
|
+
}, {
|
285
|
+
readonly blankLine: "always";
|
286
|
+
readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
|
287
|
+
readonly next: "*";
|
288
|
+
}, {
|
289
|
+
readonly blankLine: "always";
|
290
|
+
readonly prev: "case";
|
291
|
+
readonly next: "*";
|
292
|
+
}, {
|
293
|
+
readonly blankLine: "always";
|
294
|
+
readonly prev: "case";
|
295
|
+
readonly next: readonly ["case", "default"];
|
296
|
+
}, {
|
297
|
+
readonly blankLine: "always";
|
298
|
+
readonly prev: "default";
|
299
|
+
readonly next: "*";
|
300
|
+
}, {
|
301
|
+
readonly blankLine: "always";
|
302
|
+
readonly prev: "type";
|
303
|
+
readonly next: "*";
|
304
|
+
}, {
|
305
|
+
readonly blankLine: "never";
|
306
|
+
readonly prev: "type";
|
307
|
+
readonly next: "type";
|
308
|
+
}, {
|
309
|
+
readonly blankLine: "always";
|
310
|
+
readonly prev: "function";
|
311
|
+
readonly next: "*";
|
312
|
+
}, {
|
313
|
+
readonly blankLine: "always";
|
314
|
+
readonly prev: "function-overload";
|
315
|
+
readonly next: "*";
|
316
|
+
}, {
|
317
|
+
readonly blankLine: "never";
|
318
|
+
readonly prev: "function-overload";
|
319
|
+
readonly next: "function-overload";
|
320
|
+
}, {
|
321
|
+
readonly blankLine: "never";
|
322
|
+
readonly prev: "function-overload";
|
323
|
+
readonly next: "function";
|
324
|
+
}, {
|
325
|
+
readonly blankLine: "always";
|
326
|
+
readonly prev: readonly ["const", "let", "var"];
|
327
|
+
readonly next: "*";
|
328
|
+
}, {
|
329
|
+
readonly blankLine: "never";
|
330
|
+
readonly prev: readonly ["const", "let", "var"];
|
331
|
+
readonly next: readonly ["const", "let", "var"];
|
332
|
+
}, {
|
333
|
+
readonly blankLine: "always";
|
334
|
+
readonly prev: "expression";
|
335
|
+
readonly next: "*";
|
336
|
+
}, {
|
337
|
+
readonly blankLine: "never";
|
338
|
+
readonly prev: "expression";
|
339
|
+
readonly next: "expression";
|
340
|
+
}, {
|
341
|
+
readonly blankLine: "always";
|
342
|
+
readonly prev: "*";
|
343
|
+
readonly next: readonly ["throw", "return", "break", "continue"];
|
344
|
+
}, {
|
345
|
+
readonly blankLine: "always";
|
346
|
+
readonly prev: "*";
|
347
|
+
readonly next: readonly ["export", "cjs-export"];
|
348
|
+
}, {
|
349
|
+
readonly blankLine: "never";
|
350
|
+
readonly prev: readonly ["export", "cjs-export"];
|
351
|
+
readonly next: readonly ["export", "cjs-export"];
|
352
|
+
}];
|
353
|
+
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
354
|
+
readonly keywords: true;
|
355
|
+
readonly unnecessary: true;
|
356
|
+
readonly numbers: false;
|
357
|
+
}];
|
358
|
+
readonly "@stylistic/quotes": readonly ["error", "double", {
|
359
|
+
readonly avoidEscape: true;
|
360
|
+
readonly allowTemplateLiterals: true;
|
361
|
+
}];
|
362
|
+
readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
|
363
|
+
readonly "@stylistic/semi": readonly ["error", "always", {
|
364
|
+
readonly omitLastInOneLineBlock: false;
|
365
|
+
readonly omitLastInOneLineClassBody: false;
|
366
|
+
}];
|
367
|
+
readonly "@stylistic/semi-spacing": readonly ["error", {
|
368
|
+
readonly before: false;
|
369
|
+
readonly after: true;
|
370
|
+
}];
|
371
|
+
readonly "@stylistic/semi-style": readonly ["error", "last"];
|
372
|
+
readonly "@stylistic/space-before-blocks": readonly ["error", {
|
373
|
+
readonly functions: "always";
|
374
|
+
readonly keywords: "always";
|
375
|
+
readonly classes: "always";
|
376
|
+
}];
|
377
|
+
readonly "@stylistic/space-before-function-paren": readonly ["error", {
|
378
|
+
readonly anonymous: "always";
|
379
|
+
readonly named: "never";
|
380
|
+
readonly asyncArrow: "always";
|
381
|
+
}];
|
382
|
+
readonly "@stylistic/space-in-parens": readonly ["error", "never"];
|
383
|
+
readonly "@stylistic/space-infix-ops": readonly ["error", {
|
384
|
+
readonly int32Hint: true;
|
385
|
+
}];
|
386
|
+
readonly "@stylistic/space-unary-ops": readonly ["error", {
|
387
|
+
readonly words: true;
|
388
|
+
readonly nonwords: false;
|
389
|
+
readonly overrides: {};
|
390
|
+
}];
|
391
|
+
readonly "@stylistic/spaced-comment": readonly ["error", "always"];
|
392
|
+
readonly "@stylistic/switch-colon-spacing": readonly ["error", {
|
393
|
+
readonly after: true;
|
394
|
+
readonly before: false;
|
395
|
+
}];
|
396
|
+
readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
|
397
|
+
readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
|
398
|
+
readonly "@stylistic/type-annotation-spacing": readonly ["error", {
|
399
|
+
readonly before: false;
|
400
|
+
readonly after: true;
|
401
|
+
}];
|
402
|
+
readonly "@stylistic/type-generic-spacing": "error";
|
403
|
+
readonly "@stylistic/type-named-tuple-spacing": "error";
|
404
|
+
readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
|
405
|
+
readonly functionPrototypeMethods: true;
|
406
|
+
}];
|
407
|
+
readonly "@stylistic/wrap-regex": "error";
|
408
|
+
readonly "@stylistic/yield-star-spacing": readonly ["error", {
|
409
|
+
readonly before: false;
|
410
|
+
readonly after: true;
|
411
|
+
}];
|
412
|
+
}];
|
413
|
+
export default _default;
|
414
|
+
//# sourceMappingURL=EnableStylistic.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableStylistic.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,wBA2pB+B"}
|