@eslinted/defaults 18.1.0 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,266 +0,0 @@
1
- import { State } from "./state.js";
2
- declare const _default: {
3
- rules: {
4
- readonly "stylistic/array-bracket-newline": State.WARN;
5
- readonly "stylistic/array-bracket-spacing": State.WARN;
6
- readonly "stylistic/array-element-newline": readonly [
7
- State.WARN,
8
- {
9
- readonly consistent: true;
10
- readonly multiline: true;
11
- readonly minItems: 3;
12
- }
13
- ];
14
- readonly "stylistic/arrow-parens": readonly [
15
- State.WARN,
16
- "as-needed"
17
- ];
18
- readonly "stylistic/arrow-spacing": State.WARN;
19
- readonly "stylistic/block-spacing": State.WARN;
20
- readonly "stylistic/brace-style": readonly [
21
- State.WARN,
22
- "stroustrup",
23
- {
24
- readonly allowSingleLine: true;
25
- }
26
- ];
27
- readonly "stylistic/comma-dangle": readonly [
28
- State.WARN,
29
- "always-multiline"
30
- ];
31
- readonly "stylistic/comma-spacing": State.WARN;
32
- readonly "stylistic/comma-style": State.WARN;
33
- readonly "stylistic/computed-property-spacing": State.WARN;
34
- readonly "stylistic/curly-newline": State.WARN;
35
- readonly "stylistic/dot-location": readonly [
36
- State.WARN,
37
- "property"
38
- ];
39
- readonly "stylistic/eol-last": State.WARN;
40
- readonly "stylistic/function-call-argument-newline": readonly [
41
- State.WARN,
42
- "consistent"
43
- ];
44
- readonly "stylistic/function-call-spacing": State.WARN;
45
- readonly "stylistic/function-paren-newline": readonly [
46
- State.WARN,
47
- "multiline-arguments"
48
- ];
49
- readonly "stylistic/generator-star-spacing": State.WARN;
50
- readonly "stylistic/implicit-arrow-linebreak": State.WARN;
51
- readonly "stylistic/indent": readonly [
52
- State.WARN,
53
- 2,
54
- {
55
- readonly assignmentOperator: 0;
56
- readonly VariableDeclarator: {
57
- readonly var: 0;
58
- readonly let: 0;
59
- readonly const: 0;
60
- };
61
- readonly outerIIFEBody: 0;
62
- readonly offsetTernaryExpressions: true;
63
- }
64
- ];
65
- readonly "stylistic/indent-binary-ops": readonly [
66
- State.WARN,
67
- 2
68
- ];
69
- readonly "stylistic/key-spacing": State.WARN;
70
- readonly "stylistic/keyword-spacing": State.WARN;
71
- readonly "stylistic/linebreak-style": State.WARN;
72
- readonly "stylistic/lines-between-class-members": readonly [
73
- State.WARN,
74
- {
75
- readonly enforce: readonly [
76
- {
77
- readonly prev: "field";
78
- readonly next: "field";
79
- readonly blankLine: "never";
80
- },
81
- {
82
- readonly prev: "field";
83
- readonly next: "method";
84
- readonly blankLine: "always";
85
- },
86
- {
87
- readonly prev: "method";
88
- readonly next: "*";
89
- readonly blankLine: "always";
90
- }
91
- ];
92
- }
93
- ];
94
- readonly "stylistic/max-len": readonly [
95
- State.WARN,
96
- {
97
- readonly code: 300;
98
- readonly ignoreComments: true;
99
- readonly ignoreTrailingComments: true;
100
- readonly ignoreUrls: true;
101
- readonly ignoreStrings: true;
102
- readonly ignoreTemplateLiterals: true;
103
- readonly ignoreRegExpLiterals: true;
104
- }
105
- ];
106
- readonly "stylistic/max-statements-per-line": State.WARN;
107
- readonly "stylistic/member-delimiter-style": State.WARN;
108
- readonly "stylistic/multiline-ternary": readonly [
109
- State.WARN,
110
- "always-multiline"
111
- ];
112
- readonly "stylistic/newline-per-chained-call": State.WARN;
113
- readonly "stylistic/no-extra-parens": State.WARN;
114
- readonly "stylistic/no-extra-semi": State.WARN;
115
- readonly "stylistic/no-floating-decimal": State.WARN;
116
- readonly "stylistic/no-mixed-spaces-and-tabs": State.WARN;
117
- readonly "stylistic/no-multi-spaces": readonly [
118
- State.WARN,
119
- {
120
- readonly exceptions: {
121
- readonly Property: false;
122
- readonly ImportAttributes: false;
123
- };
124
- }
125
- ];
126
- readonly "stylistic/no-multiple-empty-lines": readonly [
127
- State.WARN,
128
- {
129
- readonly max: 1;
130
- readonly maxBOF: 0;
131
- readonly maxEOF: 0;
132
- }
133
- ];
134
- readonly "stylistic/no-tabs": State.WARN;
135
- readonly "stylistic/no-trailing-spaces": State.WARN;
136
- readonly "stylistic/no-whitespace-before-property": State.WARN;
137
- readonly "stylistic/nonblock-statement-body-position": readonly [
138
- State.WARN,
139
- "below"
140
- ];
141
- readonly "stylistic/object-curly-newline": readonly [
142
- State.WARN,
143
- {
144
- readonly consistent: true;
145
- readonly multiline: true;
146
- readonly minProperties: 3;
147
- }
148
- ];
149
- readonly "stylistic/object-curly-spacing": readonly [
150
- State.WARN,
151
- "always",
152
- {
153
- readonly emptyObjects: "never";
154
- }
155
- ];
156
- readonly "stylistic/object-property-newline": State.WARN;
157
- readonly "stylistic/one-var-declaration-per-line": readonly [
158
- State.WARN,
159
- "always"
160
- ];
161
- readonly "stylistic/operator-linebreak": readonly [
162
- State.WARN,
163
- "before"
164
- ];
165
- readonly "stylistic/padded-blocks": readonly [
166
- State.WARN,
167
- "never",
168
- {
169
- readonly allowSingleLineBlocks: true;
170
- }
171
- ];
172
- readonly "stylistic/quote-props": readonly [
173
- State.WARN,
174
- "as-needed",
175
- {
176
- readonly keywords: true;
177
- }
178
- ];
179
- readonly "stylistic/quotes": readonly [
180
- State.WARN,
181
- "double",
182
- {
183
- readonly avoidEscape: true;
184
- readonly allowTemplateLiterals: "always";
185
- }
186
- ];
187
- readonly "stylistic/rest-spread-spacing": State.WARN;
188
- readonly "stylistic/semi": State.WARN;
189
- readonly "stylistic/semi-spacing": State.WARN;
190
- readonly "stylistic/semi-style": State.WARN;
191
- readonly "stylistic/space-before-blocks": State.WARN;
192
- readonly "stylistic/space-before-function-paren": readonly [
193
- State.WARN,
194
- {
195
- readonly named: "never";
196
- }
197
- ];
198
- readonly "stylistic/space-in-parens": State.WARN;
199
- readonly "stylistic/space-infix-ops": State.WARN;
200
- readonly "stylistic/space-unary-ops": State.WARN;
201
- readonly "stylistic/spaced-comment": readonly [
202
- State.WARN,
203
- "always",
204
- {
205
- readonly line: {
206
- readonly exceptions: readonly [
207
- "/",
208
- "-",
209
- "+",
210
- "="
211
- ];
212
- readonly markers: readonly [
213
- "!",
214
- "@",
215
- "#",
216
- "/",
217
- "#region",
218
- "#endregion",
219
- "#part",
220
- "/#region",
221
- "/#endregion",
222
- "/#part"
223
- ];
224
- };
225
- readonly block: {
226
- readonly exceptions: readonly [
227
- "*"
228
- ];
229
- readonly markers: readonly [
230
- "*"
231
- ];
232
- readonly balanced: true;
233
- };
234
- }
235
- ];
236
- readonly "stylistic/switch-colon-spacing": State.WARN;
237
- readonly "stylistic/template-curly-spacing": State.WARN;
238
- readonly "stylistic/template-tag-spacing": State.WARN;
239
- readonly "stylistic/type-annotation-spacing": readonly [
240
- State.WARN,
241
- {
242
- readonly before: true;
243
- readonly after: true;
244
- readonly overrides: {
245
- readonly colon: {
246
- readonly before: false;
247
- readonly after: true;
248
- };
249
- };
250
- }
251
- ];
252
- readonly "stylistic/type-generic-spacing": State.WARN;
253
- readonly "stylistic/type-named-tuple-spacing": State.WARN;
254
- readonly "stylistic/wrap-iife": readonly [
255
- State.WARN,
256
- "inside",
257
- {
258
- readonly functionPrototypeMethods: true;
259
- }
260
- ];
261
- readonly "stylistic/wrap-regex": State.WARN;
262
- readonly "stylistic/yield-star-spacing": State.WARN;
263
- };
264
- };
265
- export default _default;
266
- //# sourceMappingURL=js.stylistic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.stylistic.d.ts","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,wBAyQE"}
@@ -1,260 +0,0 @@
1
- export default {
2
- rules: {
3
- "stylistic/array-bracket-newline": 1,
4
- "stylistic/array-bracket-spacing": 1,
5
- "stylistic/array-element-newline": [
6
- 1,
7
- {
8
- consistent: true,
9
- multiline: true,
10
- minItems: 3,
11
- },
12
- ],
13
- "stylistic/arrow-parens": [
14
- 1,
15
- "as-needed",
16
- ],
17
- "stylistic/arrow-spacing": 1,
18
- "stylistic/block-spacing": 1,
19
- "stylistic/brace-style": [
20
- 1,
21
- "stroustrup",
22
- {
23
- allowSingleLine: true,
24
- },
25
- ],
26
- "stylistic/comma-dangle": [
27
- 1,
28
- "always-multiline",
29
- ],
30
- "stylistic/comma-spacing": 1,
31
- "stylistic/comma-style": 1,
32
- "stylistic/computed-property-spacing": 1,
33
- "stylistic/curly-newline": 1,
34
- "stylistic/dot-location": [
35
- 1,
36
- "property",
37
- ],
38
- "stylistic/eol-last": 1,
39
- "stylistic/function-call-argument-newline": [
40
- 1,
41
- "consistent",
42
- ],
43
- "stylistic/function-call-spacing": 1,
44
- "stylistic/function-paren-newline": [
45
- 1,
46
- "multiline-arguments",
47
- ],
48
- "stylistic/generator-star-spacing": 1,
49
- "stylistic/implicit-arrow-linebreak": 1,
50
- "stylistic/indent": [
51
- 1,
52
- 2,
53
- {
54
- assignmentOperator: 0,
55
- VariableDeclarator: {
56
- "var": 0,
57
- let: 0,
58
- "const": 0,
59
- },
60
- outerIIFEBody: 0,
61
- offsetTernaryExpressions: true,
62
- },
63
- ],
64
- "stylistic/indent-binary-ops": [
65
- 1,
66
- 2,
67
- ],
68
- "stylistic/key-spacing": 1,
69
- "stylistic/keyword-spacing": 1,
70
- "stylistic/linebreak-style": 1,
71
- "stylistic/lines-between-class-members": [
72
- 1,
73
- {
74
- enforce: [
75
- {
76
- prev: "field",
77
- next: "field",
78
- blankLine: "never",
79
- },
80
- {
81
- prev: "field",
82
- next: "method",
83
- blankLine: "always",
84
- },
85
- {
86
- prev: "method",
87
- next: "*",
88
- blankLine: "always",
89
- },
90
- ],
91
- },
92
- ],
93
- "stylistic/max-len": [
94
- 1,
95
- {
96
- code: 300,
97
- ignoreComments: true,
98
- ignoreTrailingComments: true,
99
- ignoreUrls: true,
100
- ignoreStrings: true,
101
- ignoreTemplateLiterals: true,
102
- ignoreRegExpLiterals: true,
103
- },
104
- ],
105
- "stylistic/max-statements-per-line": 1,
106
- "stylistic/member-delimiter-style": 1,
107
- "stylistic/multiline-ternary": [
108
- 1,
109
- "always-multiline",
110
- ],
111
- "stylistic/newline-per-chained-call": 1,
112
- "stylistic/no-extra-parens": 1,
113
- "stylistic/no-extra-semi": 1,
114
- "stylistic/no-floating-decimal": 1,
115
- "stylistic/no-mixed-spaces-and-tabs": 1,
116
- "stylistic/no-multi-spaces": [
117
- 1,
118
- {
119
- exceptions: {
120
- Property: false,
121
- ImportAttributes: false,
122
- },
123
- },
124
- ],
125
- "stylistic/no-multiple-empty-lines": [
126
- 1,
127
- {
128
- max: 1,
129
- maxBOF: 0,
130
- maxEOF: 0,
131
- },
132
- ],
133
- "stylistic/no-tabs": 1,
134
- "stylistic/no-trailing-spaces": 1,
135
- "stylistic/no-whitespace-before-property": 1,
136
- "stylistic/nonblock-statement-body-position": [
137
- 1,
138
- "below",
139
- ],
140
- "stylistic/object-curly-newline": [
141
- 1,
142
- {
143
- consistent: true,
144
- multiline: true,
145
- minProperties: 3,
146
- },
147
- ],
148
- "stylistic/object-curly-spacing": [
149
- 1,
150
- "always",
151
- {
152
- emptyObjects: "never",
153
- },
154
- ],
155
- "stylistic/object-property-newline": 1,
156
- "stylistic/one-var-declaration-per-line": [
157
- 1,
158
- "always",
159
- ],
160
- "stylistic/operator-linebreak": [
161
- 1,
162
- "before",
163
- ],
164
- "stylistic/padded-blocks": [
165
- 1,
166
- "never",
167
- {
168
- allowSingleLineBlocks: true,
169
- },
170
- ],
171
- "stylistic/quote-props": [
172
- 1,
173
- "as-needed",
174
- {
175
- keywords: true,
176
- },
177
- ],
178
- "stylistic/quotes": [
179
- 1,
180
- "double",
181
- {
182
- avoidEscape: true,
183
- allowTemplateLiterals: "always",
184
- },
185
- ],
186
- "stylistic/rest-spread-spacing": 1,
187
- "stylistic/semi": 1,
188
- "stylistic/semi-spacing": 1,
189
- "stylistic/semi-style": 1,
190
- "stylistic/space-before-blocks": 1,
191
- "stylistic/space-before-function-paren": [
192
- 1,
193
- {
194
- named: "never",
195
- },
196
- ],
197
- "stylistic/space-in-parens": 1,
198
- "stylistic/space-infix-ops": 1,
199
- "stylistic/space-unary-ops": 1,
200
- "stylistic/spaced-comment": [
201
- 1,
202
- "always",
203
- {
204
- line: {
205
- exceptions: [
206
- "/",
207
- "-",
208
- "+",
209
- "=",
210
- ],
211
- markers: [
212
- "!",
213
- "@",
214
- "#",
215
- "/",
216
- "#region",
217
- "#endregion",
218
- "#part",
219
- "/#region",
220
- "/#endregion",
221
- "/#part",
222
- ],
223
- },
224
- block: {
225
- exceptions: ["*"],
226
- markers: ["*"],
227
- balanced: true,
228
- },
229
- },
230
- ],
231
- "stylistic/switch-colon-spacing": 1,
232
- "stylistic/template-curly-spacing": 1,
233
- "stylistic/template-tag-spacing": 1,
234
- "stylistic/type-annotation-spacing": [
235
- 1,
236
- {
237
- before: true,
238
- after: true,
239
- overrides: {
240
- colon: {
241
- before: false,
242
- after: true,
243
- },
244
- },
245
- },
246
- ],
247
- "stylistic/type-generic-spacing": 1,
248
- "stylistic/type-named-tuple-spacing": 1,
249
- "stylistic/wrap-iife": [
250
- 1,
251
- "inside",
252
- {
253
- functionPrototypeMethods: true,
254
- },
255
- ],
256
- "stylistic/wrap-regex": 1,
257
- "stylistic/yield-star-spacing": 1,
258
- },
259
- };
260
- //# sourceMappingURL=js.stylistic.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.stylistic.js","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,iCAAiC,GAAY;QAC7C,iCAAiC,GAAY;QAC7C,iCAAiC,EAAE;;YAEjC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,CAAC;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