@eslinted/defaults 17.10.0 → 18.0.0-rc.1

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.
Files changed (74) hide show
  1. package/dist/index.d.ts +246 -265
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/rules/css/index.d.ts +9 -9
  4. package/dist/rules/css/index.js +9 -9
  5. package/dist/rules/css/index.js.map +1 -1
  6. package/dist/rules/html/index.d.ts +42 -42
  7. package/dist/rules/html/index.d.ts.map +1 -1
  8. package/dist/rules/html/index.js +42 -42
  9. package/dist/rules/html/index.js.map +1 -1
  10. package/dist/rules/index.d.ts +246 -265
  11. package/dist/rules/index.d.ts.map +1 -1
  12. package/dist/rules/js.d.ts +112 -119
  13. package/dist/rules/js.d.ts.map +1 -1
  14. package/dist/rules/js.eslint.d.ts +45 -52
  15. package/dist/rules/js.eslint.d.ts.map +1 -1
  16. package/dist/rules/js.eslint.js +45 -52
  17. package/dist/rules/js.eslint.js.map +1 -1
  18. package/dist/rules/js.stylistic.d.ts +67 -67
  19. package/dist/rules/js.stylistic.d.ts.map +1 -1
  20. package/dist/rules/js.stylistic.js +67 -67
  21. package/dist/rules/js.stylistic.js.map +1 -1
  22. package/dist/rules/json/index.d.ts +8 -11
  23. package/dist/rules/json/index.d.ts.map +1 -1
  24. package/dist/rules/json/plugin/extend.d.ts +8 -11
  25. package/dist/rules/json/plugin/extend.d.ts.map +1 -1
  26. package/dist/rules/json/plugin/extend.js +8 -11
  27. package/dist/rules/json/plugin/extend.js.map +1 -1
  28. package/dist/rules/jsoncc/index.d.ts +1 -1
  29. package/dist/rules/jsoncc/index.js +1 -1
  30. package/dist/rules/svelte/extend.d.ts +1 -1
  31. package/dist/rules/svelte/extend.js +1 -1
  32. package/dist/rules/svelte/extend.js.map +1 -1
  33. package/dist/rules/svelte/index.d.ts +24 -24
  34. package/dist/rules/svelte/svelte.d.ts +23 -23
  35. package/dist/rules/svelte/svelte.js +23 -23
  36. package/dist/rules/svelte/svelte.js.map +1 -1
  37. package/dist/rules/ts/extend.d.ts +4 -13
  38. package/dist/rules/ts/extend.d.ts.map +1 -1
  39. package/dist/rules/ts/extend.js +4 -13
  40. package/dist/rules/ts/extend.js.map +1 -1
  41. package/dist/rules/ts/index.d.ts +31 -41
  42. package/dist/rules/ts/index.d.ts.map +1 -1
  43. package/dist/rules/ts/ts.d.ts +27 -28
  44. package/dist/rules/ts/ts.d.ts.map +1 -1
  45. package/dist/rules/ts/ts.js +27 -28
  46. package/dist/rules/ts/ts.js.map +1 -1
  47. package/dist/rules/yml/extend.d.ts +7 -7
  48. package/dist/rules/yml/extend.js +7 -7
  49. package/dist/rules/yml/extend.js.map +1 -1
  50. package/dist/rules/yml/index.d.ts +19 -18
  51. package/dist/rules/yml/index.d.ts.map +1 -1
  52. package/dist/rules/yml/yml.d.ts +12 -11
  53. package/dist/rules/yml/yml.d.ts.map +1 -1
  54. package/dist/rules/yml/yml.js +12 -11
  55. package/dist/rules/yml/yml.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/rules/css/index.ts +11 -11
  58. package/src/rules/html/index.ts +50 -58
  59. package/src/rules/js.eslint.ts +143 -162
  60. package/src/rules/js.stylistic.ts +87 -88
  61. package/src/rules/json/json.ts +3 -3
  62. package/src/rules/json/plugin/extend.ts +11 -14
  63. package/src/rules/json/plugin/index.ts +3 -3
  64. package/src/rules/jsonc/index.ts +1 -1
  65. package/src/rules/jsoncc/index.ts +2 -2
  66. package/src/rules/svelte/disable.ts +3 -3
  67. package/src/rules/svelte/extend.ts +3 -3
  68. package/src/rules/svelte/svelte.ts +26 -26
  69. package/src/rules/ts/disable.ts +4 -4
  70. package/src/rules/ts/extend.ts +7 -15
  71. package/src/rules/ts/ts.ts +44 -44
  72. package/src/rules/yml/extend.ts +7 -7
  73. package/src/rules/yml/yml.ts +15 -15
  74. package/tsconfig-base.json +2 -4
@@ -1,10 +1,10 @@
1
1
  import { State } from "./state.js";
2
2
  declare const _default: {
3
3
  rules: {
4
- readonly "stylistic/array-bracket-newline": State.ON;
5
- readonly "stylistic/array-bracket-spacing": State.ON;
4
+ readonly "stylistic/array-bracket-newline": State.WARN;
5
+ readonly "stylistic/array-bracket-spacing": State.WARN;
6
6
  readonly "stylistic/array-element-newline": readonly [
7
- State.ON,
7
+ State.WARN,
8
8
  {
9
9
  readonly consistent: true;
10
10
  readonly multiline: true;
@@ -12,44 +12,44 @@ declare const _default: {
12
12
  }
13
13
  ];
14
14
  readonly "stylistic/arrow-parens": readonly [
15
- State.ON,
15
+ State.WARN,
16
16
  "as-needed"
17
17
  ];
18
- readonly "stylistic/arrow-spacing": State.ON;
19
- readonly "stylistic/block-spacing": State.ON;
18
+ readonly "stylistic/arrow-spacing": State.WARN;
19
+ readonly "stylistic/block-spacing": State.WARN;
20
20
  readonly "stylistic/brace-style": readonly [
21
- State.ON,
21
+ State.WARN,
22
22
  "stroustrup",
23
23
  {
24
24
  readonly allowSingleLine: true;
25
25
  }
26
26
  ];
27
27
  readonly "stylistic/comma-dangle": readonly [
28
- State.ON,
28
+ State.WARN,
29
29
  "always-multiline"
30
30
  ];
31
- readonly "stylistic/comma-spacing": State.ON;
32
- readonly "stylistic/comma-style": State.ON;
33
- readonly "stylistic/computed-property-spacing": State.ON;
34
- readonly "stylistic/curly-newline": State.ON;
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
35
  readonly "stylistic/dot-location": readonly [
36
- State.ON,
36
+ State.WARN,
37
37
  "property"
38
38
  ];
39
- readonly "stylistic/eol-last": State.ON;
39
+ readonly "stylistic/eol-last": State.WARN;
40
40
  readonly "stylistic/function-call-argument-newline": readonly [
41
- State.ON,
41
+ State.WARN,
42
42
  "consistent"
43
43
  ];
44
- readonly "stylistic/function-call-spacing": State.ON;
44
+ readonly "stylistic/function-call-spacing": State.WARN;
45
45
  readonly "stylistic/function-paren-newline": readonly [
46
- State.ON,
46
+ State.WARN,
47
47
  "multiline-arguments"
48
48
  ];
49
- readonly "stylistic/generator-star-spacing": State.ON;
50
- readonly "stylistic/implicit-arrow-linebreak": State.ON;
49
+ readonly "stylistic/generator-star-spacing": State.WARN;
50
+ readonly "stylistic/implicit-arrow-linebreak": State.WARN;
51
51
  readonly "stylistic/indent": readonly [
52
- State.ON,
52
+ State.WARN,
53
53
  2,
54
54
  {
55
55
  readonly assignmentOperator: 0;
@@ -63,14 +63,14 @@ declare const _default: {
63
63
  }
64
64
  ];
65
65
  readonly "stylistic/indent-binary-ops": readonly [
66
- State.ON,
66
+ State.WARN,
67
67
  2
68
68
  ];
69
- readonly "stylistic/key-spacing": State.ON;
70
- readonly "stylistic/keyword-spacing": State.ON;
71
- readonly "stylistic/linebreak-style": State.ON;
69
+ readonly "stylistic/key-spacing": State.WARN;
70
+ readonly "stylistic/keyword-spacing": State.WARN;
71
+ readonly "stylistic/linebreak-style": State.WARN;
72
72
  readonly "stylistic/lines-between-class-members": readonly [
73
- State.ON,
73
+ State.WARN,
74
74
  {
75
75
  readonly enforce: readonly [
76
76
  {
@@ -92,7 +92,7 @@ declare const _default: {
92
92
  }
93
93
  ];
94
94
  readonly "stylistic/max-len": readonly [
95
- State.ON,
95
+ State.WARN,
96
96
  {
97
97
  readonly code: 300;
98
98
  readonly ignoreComments: true;
@@ -103,19 +103,19 @@ declare const _default: {
103
103
  readonly ignoreRegExpLiterals: true;
104
104
  }
105
105
  ];
106
- readonly "stylistic/max-statements-per-line": State.ON;
107
- readonly "stylistic/member-delimiter-style": State.ON;
106
+ readonly "stylistic/max-statements-per-line": State.WARN;
107
+ readonly "stylistic/member-delimiter-style": State.WARN;
108
108
  readonly "stylistic/multiline-ternary": readonly [
109
- State.ON,
109
+ State.WARN,
110
110
  "always-multiline"
111
111
  ];
112
- readonly "stylistic/newline-per-chained-call": State.ON;
113
- readonly "stylistic/no-extra-parens": State.ON;
114
- readonly "stylistic/no-extra-semi": State.ON;
115
- readonly "stylistic/no-floating-decimal": State.ON;
116
- readonly "stylistic/no-mixed-spaces-and-tabs": State.ON;
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
117
  readonly "stylistic/no-multi-spaces": readonly [
118
- State.ON,
118
+ State.WARN,
119
119
  {
120
120
  readonly exceptions: {
121
121
  readonly Property: false;
@@ -124,22 +124,22 @@ declare const _default: {
124
124
  }
125
125
  ];
126
126
  readonly "stylistic/no-multiple-empty-lines": readonly [
127
- State.ON,
127
+ State.WARN,
128
128
  {
129
129
  readonly max: 1;
130
130
  readonly maxBOF: 0;
131
131
  readonly maxEOF: 0;
132
132
  }
133
133
  ];
134
- readonly "stylistic/no-tabs": State.ON;
135
- readonly "stylistic/no-trailing-spaces": State.ON;
136
- readonly "stylistic/no-whitespace-before-property": State.ON;
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
137
  readonly "stylistic/nonblock-statement-body-position": readonly [
138
- State.ON,
138
+ State.WARN,
139
139
  "below"
140
140
  ];
141
141
  readonly "stylistic/object-curly-newline": readonly [
142
- State.ON,
142
+ State.WARN,
143
143
  {
144
144
  readonly consistent: true;
145
145
  readonly multiline: true;
@@ -147,59 +147,59 @@ declare const _default: {
147
147
  }
148
148
  ];
149
149
  readonly "stylistic/object-curly-spacing": readonly [
150
- State.ON,
150
+ State.WARN,
151
151
  "always",
152
152
  {
153
153
  readonly emptyObjects: "never";
154
154
  }
155
155
  ];
156
- readonly "stylistic/object-property-newline": State.ON;
156
+ readonly "stylistic/object-property-newline": State.WARN;
157
157
  readonly "stylistic/one-var-declaration-per-line": readonly [
158
- State.ON,
158
+ State.WARN,
159
159
  "always"
160
160
  ];
161
161
  readonly "stylistic/operator-linebreak": readonly [
162
- State.ON,
162
+ State.WARN,
163
163
  "before"
164
164
  ];
165
165
  readonly "stylistic/padded-blocks": readonly [
166
- State.ON,
166
+ State.WARN,
167
167
  "never",
168
168
  {
169
169
  readonly allowSingleLineBlocks: true;
170
170
  }
171
171
  ];
172
172
  readonly "stylistic/quote-props": readonly [
173
- State.ON,
173
+ State.WARN,
174
174
  "as-needed",
175
175
  {
176
176
  readonly keywords: true;
177
177
  }
178
178
  ];
179
179
  readonly "stylistic/quotes": readonly [
180
- State.ON,
180
+ State.WARN,
181
181
  "double",
182
182
  {
183
183
  readonly avoidEscape: true;
184
184
  readonly allowTemplateLiterals: "always";
185
185
  }
186
186
  ];
187
- readonly "stylistic/rest-spread-spacing": State.ON;
188
- readonly "stylistic/semi": State.ON;
189
- readonly "stylistic/semi-spacing": State.ON;
190
- readonly "stylistic/semi-style": State.ON;
191
- readonly "stylistic/space-before-blocks": State.ON;
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
192
  readonly "stylistic/space-before-function-paren": readonly [
193
- State.ON,
193
+ State.WARN,
194
194
  {
195
195
  readonly named: "never";
196
196
  }
197
197
  ];
198
- readonly "stylistic/space-in-parens": State.ON;
199
- readonly "stylistic/space-infix-ops": State.ON;
200
- readonly "stylistic/space-unary-ops": State.ON;
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
201
  readonly "stylistic/spaced-comment": readonly [
202
- State.ON,
202
+ State.WARN,
203
203
  "always",
204
204
  {
205
205
  readonly line: {
@@ -233,11 +233,11 @@ declare const _default: {
233
233
  };
234
234
  }
235
235
  ];
236
- readonly "stylistic/switch-colon-spacing": State.ON;
237
- readonly "stylistic/template-curly-spacing": State.ON;
238
- readonly "stylistic/template-tag-spacing": State.ON;
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
239
  readonly "stylistic/type-annotation-spacing": readonly [
240
- State.ON,
240
+ State.WARN,
241
241
  {
242
242
  readonly before: true;
243
243
  readonly after: true;
@@ -249,17 +249,17 @@ declare const _default: {
249
249
  };
250
250
  }
251
251
  ];
252
- readonly "stylistic/type-generic-spacing": State.ON;
253
- readonly "stylistic/type-named-tuple-spacing": State.ON;
252
+ readonly "stylistic/type-generic-spacing": State.WARN;
253
+ readonly "stylistic/type-named-tuple-spacing": State.WARN;
254
254
  readonly "stylistic/wrap-iife": readonly [
255
- State.ON,
255
+ State.WARN,
256
256
  "inside",
257
257
  {
258
258
  readonly functionPrototypeMethods: true;
259
259
  }
260
260
  ];
261
- readonly "stylistic/wrap-regex": State.ON;
262
- readonly "stylistic/yield-star-spacing": State.ON;
261
+ readonly "stylistic/wrap-regex": State.WARN;
262
+ readonly "stylistic/yield-star-spacing": State.WARN;
263
263
  };
264
264
  };
265
265
  export default _default;
@@ -1 +1 @@
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,wBA0QE"}
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,9 +1,9 @@
1
1
  export default {
2
2
  rules: {
3
- "stylistic/array-bracket-newline": 2,
4
- "stylistic/array-bracket-spacing": 2,
3
+ "stylistic/array-bracket-newline": 1,
4
+ "stylistic/array-bracket-spacing": 1,
5
5
  "stylistic/array-element-newline": [
6
- 2,
6
+ 1,
7
7
  {
8
8
  consistent: true,
9
9
  multiline: true,
@@ -11,44 +11,44 @@ export default {
11
11
  },
12
12
  ],
13
13
  "stylistic/arrow-parens": [
14
- 2,
14
+ 1,
15
15
  "as-needed",
16
16
  ],
17
- "stylistic/arrow-spacing": 2,
18
- "stylistic/block-spacing": 2,
17
+ "stylistic/arrow-spacing": 1,
18
+ "stylistic/block-spacing": 1,
19
19
  "stylistic/brace-style": [
20
- 2,
20
+ 1,
21
21
  "stroustrup",
22
22
  {
23
23
  allowSingleLine: true,
24
24
  },
25
25
  ],
26
26
  "stylistic/comma-dangle": [
27
- 2,
27
+ 1,
28
28
  "always-multiline",
29
29
  ],
30
- "stylistic/comma-spacing": 2,
31
- "stylistic/comma-style": 2,
32
- "stylistic/computed-property-spacing": 2,
33
- "stylistic/curly-newline": 2,
30
+ "stylistic/comma-spacing": 1,
31
+ "stylistic/comma-style": 1,
32
+ "stylistic/computed-property-spacing": 1,
33
+ "stylistic/curly-newline": 1,
34
34
  "stylistic/dot-location": [
35
- 2,
35
+ 1,
36
36
  "property",
37
37
  ],
38
- "stylistic/eol-last": 2,
38
+ "stylistic/eol-last": 1,
39
39
  "stylistic/function-call-argument-newline": [
40
- 2,
40
+ 1,
41
41
  "consistent",
42
42
  ],
43
- "stylistic/function-call-spacing": 2,
43
+ "stylistic/function-call-spacing": 1,
44
44
  "stylistic/function-paren-newline": [
45
- 2,
45
+ 1,
46
46
  "multiline-arguments",
47
47
  ],
48
- "stylistic/generator-star-spacing": 2,
49
- "stylistic/implicit-arrow-linebreak": 2,
48
+ "stylistic/generator-star-spacing": 1,
49
+ "stylistic/implicit-arrow-linebreak": 1,
50
50
  "stylistic/indent": [
51
- 2,
51
+ 1,
52
52
  2,
53
53
  {
54
54
  assignmentOperator: 0,
@@ -62,14 +62,14 @@ export default {
62
62
  },
63
63
  ],
64
64
  "stylistic/indent-binary-ops": [
65
- 2,
65
+ 1,
66
66
  2,
67
67
  ],
68
- "stylistic/key-spacing": 2,
69
- "stylistic/keyword-spacing": 2,
70
- "stylistic/linebreak-style": 2,
68
+ "stylistic/key-spacing": 1,
69
+ "stylistic/keyword-spacing": 1,
70
+ "stylistic/linebreak-style": 1,
71
71
  "stylistic/lines-between-class-members": [
72
- 2,
72
+ 1,
73
73
  {
74
74
  enforce: [
75
75
  {
@@ -91,7 +91,7 @@ export default {
91
91
  },
92
92
  ],
93
93
  "stylistic/max-len": [
94
- 2,
94
+ 1,
95
95
  {
96
96
  code: 300,
97
97
  ignoreComments: true,
@@ -102,19 +102,19 @@ export default {
102
102
  ignoreRegExpLiterals: true,
103
103
  },
104
104
  ],
105
- "stylistic/max-statements-per-line": 2,
106
- "stylistic/member-delimiter-style": 2,
105
+ "stylistic/max-statements-per-line": 1,
106
+ "stylistic/member-delimiter-style": 1,
107
107
  "stylistic/multiline-ternary": [
108
- 2,
108
+ 1,
109
109
  "always-multiline",
110
110
  ],
111
- "stylistic/newline-per-chained-call": 2,
112
- "stylistic/no-extra-parens": 2,
113
- "stylistic/no-extra-semi": 2,
114
- "stylistic/no-floating-decimal": 2,
115
- "stylistic/no-mixed-spaces-and-tabs": 2,
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
116
  "stylistic/no-multi-spaces": [
117
- 2,
117
+ 1,
118
118
  {
119
119
  exceptions: {
120
120
  Property: false,
@@ -123,22 +123,22 @@ export default {
123
123
  },
124
124
  ],
125
125
  "stylistic/no-multiple-empty-lines": [
126
- 2,
126
+ 1,
127
127
  {
128
128
  max: 1,
129
129
  maxBOF: 0,
130
130
  maxEOF: 0,
131
131
  },
132
132
  ],
133
- "stylistic/no-tabs": 2,
134
- "stylistic/no-trailing-spaces": 2,
135
- "stylistic/no-whitespace-before-property": 2,
133
+ "stylistic/no-tabs": 1,
134
+ "stylistic/no-trailing-spaces": 1,
135
+ "stylistic/no-whitespace-before-property": 1,
136
136
  "stylistic/nonblock-statement-body-position": [
137
- 2,
137
+ 1,
138
138
  "below",
139
139
  ],
140
140
  "stylistic/object-curly-newline": [
141
- 2,
141
+ 1,
142
142
  {
143
143
  consistent: true,
144
144
  multiline: true,
@@ -146,59 +146,59 @@ export default {
146
146
  },
147
147
  ],
148
148
  "stylistic/object-curly-spacing": [
149
- 2,
149
+ 1,
150
150
  "always",
151
151
  {
152
152
  emptyObjects: "never",
153
153
  },
154
154
  ],
155
- "stylistic/object-property-newline": 2,
155
+ "stylistic/object-property-newline": 1,
156
156
  "stylistic/one-var-declaration-per-line": [
157
- 2,
157
+ 1,
158
158
  "always",
159
159
  ],
160
160
  "stylistic/operator-linebreak": [
161
- 2,
161
+ 1,
162
162
  "before",
163
163
  ],
164
164
  "stylistic/padded-blocks": [
165
- 2,
165
+ 1,
166
166
  "never",
167
167
  {
168
168
  allowSingleLineBlocks: true,
169
169
  },
170
170
  ],
171
171
  "stylistic/quote-props": [
172
- 2,
172
+ 1,
173
173
  "as-needed",
174
174
  {
175
175
  keywords: true,
176
176
  },
177
177
  ],
178
178
  "stylistic/quotes": [
179
- 2,
179
+ 1,
180
180
  "double",
181
181
  {
182
182
  avoidEscape: true,
183
183
  allowTemplateLiterals: "always",
184
184
  },
185
185
  ],
186
- "stylistic/rest-spread-spacing": 2,
187
- "stylistic/semi": 2,
188
- "stylistic/semi-spacing": 2,
189
- "stylistic/semi-style": 2,
190
- "stylistic/space-before-blocks": 2,
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
191
  "stylistic/space-before-function-paren": [
192
- 2,
192
+ 1,
193
193
  {
194
194
  named: "never",
195
195
  },
196
196
  ],
197
- "stylistic/space-in-parens": 2,
198
- "stylistic/space-infix-ops": 2,
199
- "stylistic/space-unary-ops": 2,
197
+ "stylistic/space-in-parens": 1,
198
+ "stylistic/space-infix-ops": 1,
199
+ "stylistic/space-unary-ops": 1,
200
200
  "stylistic/spaced-comment": [
201
- 2,
201
+ 1,
202
202
  "always",
203
203
  {
204
204
  line: {
@@ -228,11 +228,11 @@ export default {
228
228
  },
229
229
  },
230
230
  ],
231
- "stylistic/switch-colon-spacing": 2,
232
- "stylistic/template-curly-spacing": 2,
233
- "stylistic/template-tag-spacing": 2,
231
+ "stylistic/switch-colon-spacing": 1,
232
+ "stylistic/template-curly-spacing": 1,
233
+ "stylistic/template-tag-spacing": 1,
234
234
  "stylistic/type-annotation-spacing": [
235
- 2,
235
+ 1,
236
236
  {
237
237
  before: true,
238
238
  after: true,
@@ -244,17 +244,17 @@ export default {
244
244
  },
245
245
  },
246
246
  ],
247
- "stylistic/type-generic-spacing": 2,
248
- "stylistic/type-named-tuple-spacing": 2,
247
+ "stylistic/type-generic-spacing": 1,
248
+ "stylistic/type-named-tuple-spacing": 1,
249
249
  "stylistic/wrap-iife": [
250
- 2,
250
+ 1,
251
251
  "inside",
252
252
  {
253
253
  functionPrototypeMethods: true,
254
254
  },
255
255
  ],
256
- "stylistic/wrap-regex": 2,
257
- "stylistic/yield-star-spacing": 2,
256
+ "stylistic/wrap-regex": 1,
257
+ "stylistic/yield-star-spacing": 1,
258
258
  },
259
259
  };
260
260
  //# sourceMappingURL=js.stylistic.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js.stylistic.js","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,iCAAiC,GAAU;QAC3C,iCAAiC,GAAU;QAC3C,iCAAiC,EAAE;;YAEjC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,CAAC;aACZ;SACF;QACD,wBAAwB,EAAE;;YAExB,WAAW;SACZ;QACD,yBAAyB,GAAU;QACnC,yBAAyB,GAAU;QACnC,uBAAuB,EAAE;;YAEvB,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,wBAAwB,EAAE;;YAExB,kBAAkB;SACnB;QACD,yBAAyB,GAAU;QACnC,uBAAuB,GAAU;QACjC,qCAAqC,GAAU;QAC/C,yBAAyB,GAAU;QACnC,wBAAwB,EAAE;;YAExB,UAAU;SACX;QACD,oBAAoB,GAAU;QAC9B,0CAA0C,EAAE;;YAE1C,YAAY;SACb;QACD,iCAAiC,GAAU;QAC3C,kCAAkC,EAAE;;YAElC,qBAAqB;SACtB;QACD,kCAAkC,GAAU;QAC5C,oCAAoC,GAAU;QAC9C,kBAAkB,EAAE;;YAElB,CAAC;YACD;gBACE,kBAAkB,EAAE,CAAC;gBACrB,kBAAkB,EAAE;oBAClB,KAAK,EAAE,CAAC;oBACR,GAAG,EAAE,CAAC;oBACN,OAAO,EAAE,CAAC;iBACX;gBACD,aAAa,EAAE,CAAC;gBAChB,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,6BAA6B,EAAE;;YAE7B,CAAC;SACF;QACD,uBAAuB,GAAU;QACjC,2BAA2B,GAAU;QAErC,2BAA2B,GAAU;QAErC,uCAAuC,EAAE;;YAEvC;gBACE,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,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wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,sBAAsB,GAAU;QAChC,8BAA8B,GAAU;KAChC;CACX,CAAC"}
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;aACZ;SACF;QACD,wBAAwB,EAAE;;YAExB,WAAW;SACZ;QACD,yBAAyB,GAAY;QACrC,yBAAyB,GAAY;QACrC,uBAAuB,EAAE;;YAEvB,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,wBAAwB,EAAE;;YAExB,kBAAkB;SACnB;QACD,yBAAyB,GAAY;QACrC,uBAAuB,GAAY;QACnC,qCAAqC,GAAY;QACjD,yBAAyB,GAAY;QACrC,wBAAwB,EAAE;;YAExB,UAAU;SACX;QACD,oBAAoB,GAAY;QAChC,0CAA0C,EAAE;;YAE1C,YAAY;SACb;QACD,iCAAiC,GAAY;QAC7C,kCAAkC,EAAE;;YAElC,qBAAqB;SACtB;QACD,kCAAkC,GAAY;QAC9C,oCAAoC,GAAY;QAChD,kBAAkB,EAAE;;YAElB,CAAC;YACD;gBACE,kBAAkB,EAAE,CAAC;gBACrB,kBAAkB,EAAE;oBAClB,KAAK,EAAE,CAAC;oBACR,GAAG,EAAE,CAAC;oBACN,OAAO,EAAE,CAAC;iBACX;gBACD,aAAa,EAAE,CAAC;gBAChB,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,6BAA6B,EAAE;;YAE7B,CAAC;SACF;QACD,uBAAuB,GAAY;QACnC,2BAA2B,GAAY;QAEvC,2BAA2B,GAAY;QAEvC,uCAAuC,EAAE;;YAEvC;gBACE,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE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AAY;QAChD,qBAAqB,EAAE;;YAErB,QAAQ;YACR;gBACE,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,sBAAsB,GAAY;QAClC,8BAA8B,GAAY;KAClC;CACX,CAAC"}
@@ -28,27 +28,24 @@ declare const _default: ({
28
28
  };
29
29
  } | {
30
30
  rules: {
31
- readonly "jsonc/array-bracket-spacing": import("../state.js").State.ON;
31
+ readonly "jsonc/array-bracket-spacing": import("../state.js").State.WARN;
32
32
  readonly "jsonc/array-element-newline": readonly [
33
- import("../state.js").State.ON,
33
+ import("../state.js").State.WARN,
34
34
  "consistent"
35
35
  ];
36
36
  readonly "jsonc/comma-dangle": import("../state.js").State.ON;
37
- readonly "jsonc/comma-style": import("../state.js").State.ON;
37
+ readonly "jsonc/comma-style": import("../state.js").State.WARN;
38
38
  readonly "jsonc/indent": readonly [
39
- import("../state.js").State.ON,
39
+ import("../state.js").State.WARN,
40
40
  2
41
41
  ];
42
- readonly "jsonc/key-spacing": import("../state.js").State.ON;
42
+ readonly "jsonc/key-spacing": import("../state.js").State.WARN;
43
43
  readonly "jsonc/no-floating-decimal": import("../state.js").State.ON;
44
44
  readonly "jsonc/no-irregular-whitespace": readonly [
45
45
  import("../state.js").State.ON,
46
46
  {
47
47
  readonly skipStrings: true;
48
48
  readonly skipComments: true;
49
- readonly skipRegExps: true;
50
- readonly skipTemplates: true;
51
- readonly skipJSXText: true;
52
49
  }
53
50
  ];
54
51
  readonly "jsonc/no-multi-str": import("../state.js").State.ON;
@@ -57,7 +54,7 @@ declare const _default: ({
57
54
  readonly "jsonc/no-sparse-arrays": import("../state.js").State.ON;
58
55
  readonly "jsonc/no-useless-escape": import("../state.js").State.ON;
59
56
  readonly "jsonc/object-curly-newline": readonly [
60
- import("../state.js").State.ON,
57
+ import("../state.js").State.WARN,
61
58
  {
62
59
  readonly consistent: true;
63
60
  readonly multiline: true;
@@ -65,10 +62,10 @@ declare const _default: ({
65
62
  }
66
63
  ];
67
64
  readonly "jsonc/object-curly-spacing": readonly [
68
- import("../state.js").State.ON,
65
+ import("../state.js").State.WARN,
69
66
  "always"
70
67
  ];
71
- readonly "jsonc/object-property-newline": import("../state.js").State.ON;
68
+ readonly "jsonc/object-property-newline": import("../state.js").State.WARN;
72
69
  readonly "jsonc/quote-props": import("../state.js").State.ON;
73
70
  readonly "jsonc/quotes": import("../state.js").State.ON;
74
71
  readonly "jsonc/space-unary-ops": import("../state.js").State.ON;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}