linted 16.12.2-rc.2 → 16.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/.github/workflows/RELEASE.yml +35 -35
  2. package/.github/workflows/rc.yml +35 -35
  3. package/LICENSE +21 -21
  4. package/README.md +390 -390
  5. package/SECURITY.md +9 -9
  6. package/dist/imports/plugins.d.ts.map +1 -1
  7. package/dist/imports.d.ts.map +1 -1
  8. package/eslint.config.js +3 -3
  9. package/package.json +99 -99
  10. package/src/files/html.ts +1 -1
  11. package/src/files/js.ts +1 -1
  12. package/src/files/json.ts +1 -1
  13. package/src/files/jsonc.ts +4 -4
  14. package/src/files/md.ts +1 -1
  15. package/src/files/mocha.ts +1 -1
  16. package/src/files/svelte.ts +1 -1
  17. package/src/files/ts.ts +5 -5
  18. package/src/files/yml.ts +5 -5
  19. package/src/files.ts +22 -22
  20. package/src/imports/parsers.ts +15 -15
  21. package/src/imports/plugins.ts +19 -19
  22. package/src/imports.ts +8 -8
  23. package/src/index.ts +36 -36
  24. package/src/rules/_strings/id.ts +18 -18
  25. package/src/rules/_strings/level.ts +6 -6
  26. package/src/rules/_strings/state.ts +56 -56
  27. package/src/rules/_strings.ts +6 -6
  28. package/src/rules/html/enable.ts +16 -16
  29. package/src/rules/html/enable_recommended.ts +9 -9
  30. package/src/rules/html.ts +4 -4
  31. package/src/rules/js/enable.ts +524 -524
  32. package/src/rules/js/enable_stylistic.ts +608 -608
  33. package/src/rules/js.ts +4 -4
  34. package/src/rules/json/enable.ts +33 -33
  35. package/src/rules/json/enable_x.ts +89 -89
  36. package/src/rules/json.ts +4 -4
  37. package/src/rules/jsonc/override.ts +16 -16
  38. package/src/rules/jsonc.ts +4 -4
  39. package/src/rules/md/enable.ts +15 -15
  40. package/src/rules/md.ts +3 -3
  41. package/src/rules/mocha/enable.ts +3 -3
  42. package/src/rules/mocha/enable_recommended.ts +9 -9
  43. package/src/rules/mocha.ts +4 -4
  44. package/src/rules/svelte/disable.ts +9 -9
  45. package/src/rules/svelte/disable_js.ts +11 -11
  46. package/src/rules/svelte/disable_ts.ts +9 -9
  47. package/src/rules/svelte/enable.ts +228 -228
  48. package/src/rules/svelte/enable_x.ts +20 -20
  49. package/src/rules/svelte.ts +15 -15
  50. package/src/rules/ts/disable.ts +22 -22
  51. package/src/rules/ts/disable_x.ts +32 -32
  52. package/src/rules/ts/enable.ts +549 -549
  53. package/src/rules/ts/enable_x.ts +115 -115
  54. package/src/rules/ts.ts +13 -13
  55. package/src/rules/yml/enable.ts +64 -64
  56. package/src/rules/yml/enable_x.ts +68 -68
  57. package/src/rules/yml.ts +4 -4
  58. package/src/rules.ts +22 -22
  59. package/tsconfig.json +161 -161
  60. package/types/markdownlint/index.d.ts +3 -3
  61. package/types/markdownlint/parser.d.ts +9 -9
  62. package/types/mocha/index.d.ts +8 -8
  63. package/dist/rules/_html.d.ts +0 -8
  64. package/dist/rules/_html.d.ts.map +0 -1
  65. package/dist/rules/_html.js +0 -4
  66. package/dist/rules/_html.js.map +0 -1
  67. package/dist/rules/_js.d.ts +0 -765
  68. package/dist/rules/_js.d.ts.map +0 -1
  69. package/dist/rules/_js.js +0 -4
  70. package/dist/rules/_js.js.map +0 -1
  71. package/dist/rules/_json.d.ts +0 -74
  72. package/dist/rules/_json.d.ts.map +0 -1
  73. package/dist/rules/_json.js +0 -4
  74. package/dist/rules/_json.js.map +0 -1
  75. package/dist/rules/_jsonc.d.ts +0 -77
  76. package/dist/rules/_jsonc.d.ts.map +0 -1
  77. package/dist/rules/_jsonc.js +0 -4
  78. package/dist/rules/_jsonc.js.map +0 -1
  79. package/dist/rules/_md.d.ts +0 -7
  80. package/dist/rules/_md.d.ts.map +0 -1
  81. package/dist/rules/_md.js +0 -3
  82. package/dist/rules/_md.js.map +0 -1
  83. package/dist/rules/_mocha.d.ts +0 -8
  84. package/dist/rules/_mocha.d.ts.map +0 -1
  85. package/dist/rules/_mocha.js +0 -4
  86. package/dist/rules/_mocha.js.map +0 -1
  87. package/dist/rules/_svelte.d.ts +0 -1269
  88. package/dist/rules/_svelte.d.ts.map +0 -1
  89. package/dist/rules/_svelte.js +0 -15
  90. package/dist/rules/_svelte.js.map +0 -1
  91. package/dist/rules/_ts.d.ts +0 -1133
  92. package/dist/rules/_ts.d.ts.map +0 -1
  93. package/dist/rules/_ts.js +0 -13
  94. package/dist/rules/_ts.js.map +0 -1
  95. package/dist/rules/_yml.d.ts +0 -73
  96. package/dist/rules/_yml.d.ts.map +0 -1
  97. package/dist/rules/_yml.js +0 -4
  98. package/dist/rules/_yml.js.map +0 -1
  99. package/dist/rules/html/_enable.d.ts +0 -8
  100. package/dist/rules/html/_enable.d.ts.map +0 -1
  101. package/dist/rules/html/_enable.js +0 -10
  102. package/dist/rules/html/_enable.js.map +0 -1
  103. package/dist/rules/html/_recommended.d.ts +0 -3
  104. package/dist/rules/html/_recommended.d.ts.map +0 -1
  105. package/dist/rules/html/_recommended.js +0 -5
  106. package/dist/rules/html/_recommended.js.map +0 -1
  107. package/dist/rules/js/_enable.d.ts +0 -348
  108. package/dist/rules/js/_enable.d.ts.map +0 -1
  109. package/dist/rules/js/_enable.js +0 -260
  110. package/dist/rules/js/_enable.js.map +0 -1
  111. package/dist/rules/js/stylistic.d.ts +0 -420
  112. package/dist/rules/js/stylistic.d.ts.map +0 -1
  113. package/dist/rules/js/stylistic.js +0 -270
  114. package/dist/rules/js/stylistic.js.map +0 -1
  115. package/dist/rules/json/_enable.d.ts +0 -27
  116. package/dist/rules/json/_enable.d.ts.map +0 -1
  117. package/dist/rules/json/_enable.js +0 -31
  118. package/dist/rules/json/_enable.js.map +0 -1
  119. package/dist/rules/md/_enable.d.ts +0 -7
  120. package/dist/rules/md/_enable.d.ts.map +0 -1
  121. package/dist/rules/md/_enable.js +0 -9
  122. package/dist/rules/md/_enable.js.map +0 -1
  123. package/dist/rules/mocha/_enable.d.ts +0 -3
  124. package/dist/rules/mocha/_enable.d.ts.map +0 -1
  125. package/dist/rules/mocha/_enable.js +0 -4
  126. package/dist/rules/mocha/_enable.js.map +0 -1
  127. package/dist/rules/mocha/_recommended.d.ts +0 -3
  128. package/dist/rules/mocha/_recommended.d.ts.map +0 -1
  129. package/dist/rules/mocha/_recommended.js +0 -5
  130. package/dist/rules/mocha/_recommended.js.map +0 -1
  131. package/dist/rules/svelte/_enable.d.ts +0 -126
  132. package/dist/rules/svelte/_enable.d.ts.map +0 -1
  133. package/dist/rules/svelte/_enable.js +0 -90
  134. package/dist/rules/svelte/_enable.js.map +0 -1
  135. package/dist/rules/svelte/disable_x.d.ts +0 -5
  136. package/dist/rules/svelte/disable_x.d.ts.map +0 -1
  137. package/dist/rules/svelte/disable_x.js +0 -4
  138. package/dist/rules/svelte/disable_x.js.map +0 -1
  139. package/dist/rules/ts/_enable.d.ts +0 -262
  140. package/dist/rules/ts/_enable.d.ts.map +0 -1
  141. package/dist/rules/ts/_enable.js +0 -359
  142. package/dist/rules/ts/_enable.js.map +0 -1
  143. package/dist/rules/ts/disable_compiler.d.ts +0 -18
  144. package/dist/rules/ts/disable_compiler.d.ts.map +0 -1
  145. package/dist/rules/ts/disable_compiler.js +0 -22
  146. package/dist/rules/ts/disable_compiler.js.map +0 -1
  147. package/dist/rules/yml/_enable.d.ts +0 -39
  148. package/dist/rules/yml/_enable.d.ts.map +0 -1
  149. package/dist/rules/yml/_enable.js +0 -28
  150. package/dist/rules/yml/_enable.js.map +0 -1
@@ -1,270 +0,0 @@
1
- import { id, level, state } from "../_strings.js";
2
- const { stylistic } = id, { ERROR, OFF } = level, { Never, Always, AlwaysMultiline, Consistent, AsNeeded, Strict, All, Star, Last, Before, After, Below, Beside, Inside, Double, } = state;
3
- export default [
4
- stylistic,
5
- {
6
- "@stylistic/array-bracket-newline": [ERROR, { multiline: true, minItems: null }],
7
- "@stylistic/array-bracket-spacing": [ERROR, Never, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
8
- "@stylistic/array-element-newline": [
9
- ERROR,
10
- {
11
- ArrayExpression: { consistent: true, multiline: true, minItems: 4 },
12
- ArrayPattern: { consistent: true, multiline: true, minItems: 4 },
13
- },
14
- ],
15
- "@stylistic/arrow-parens": [ERROR, AsNeeded, { requireForBlockBody: false }],
16
- "@stylistic/arrow-spacing": [ERROR, { before: true, after: true }],
17
- "@stylistic/block-spacing": [ERROR, Always],
18
- "@stylistic/brace-style": [ERROR, "stroustrup", { allowSingleLine: true }],
19
- "@stylistic/comma-dangle": [ERROR, AlwaysMultiline],
20
- "@stylistic/comma-spacing": [ERROR, { before: false, after: true }],
21
- "@stylistic/comma-style": [
22
- ERROR,
23
- Last,
24
- {
25
- exceptions: {
26
- ArrayExpression: false,
27
- ArrayPattern: false,
28
- ArrowFunctionExpression: false,
29
- CallExpression: false,
30
- FunctionDeclaration: false,
31
- FunctionExpression: false,
32
- ImportDeclaration: false,
33
- ObjectExpression: false,
34
- ObjectPattern: false,
35
- VariableDeclaration: false,
36
- NewExpression: false,
37
- },
38
- },
39
- ],
40
- "@stylistic/computed-property-spacing": [ERROR, Never, { enforceForClassMembers: true }],
41
- "@stylistic/dot-location": [ERROR, "property"],
42
- "@stylistic/eol-last": [ERROR, Always],
43
- "@stylistic/function-call-argument-newline": [ERROR, Consistent],
44
- "@stylistic/function-call-spacing": [ERROR, Never],
45
- "@stylistic/function-paren-newline": [ERROR, "multiline-arguments"],
46
- "@stylistic/generator-star-spacing": [ERROR, { before: true, after: false }],
47
- "@stylistic/implicit-arrow-linebreak": [ERROR, Beside],
48
- "@stylistic/indent": [
49
- ERROR,
50
- 2,
51
- {
52
- ignoredNodes: [],
53
- SwitchCase: 1,
54
- VariableDeclarator: { "var": 0, let: 0, "const": 0 },
55
- outerIIFEBody: 0,
56
- MemberExpression: 1,
57
- FunctionDeclaration: { parameters: 1, body: 1 },
58
- FunctionExpression: { parameters: 1, body: 1 },
59
- StaticBlock: { body: 1 },
60
- CallExpression: { arguments: 1 },
61
- ArrayExpression: 1,
62
- ObjectExpression: 1,
63
- ImportDeclaration: 1,
64
- flatTernaryExpressions: false,
65
- offsetTernaryExpressions: true,
66
- ignoreComments: false,
67
- },
68
- ],
69
- "@stylistic/indent-binary-ops": [ERROR, 2],
70
- "@stylistic/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: Strict }],
71
- "@stylistic/keyword-spacing": [ERROR, { before: true, after: true, overrides: {} }],
72
- "@stylistic/line-comment-position": OFF,
73
- "@stylistic/lines-around-comment": [
74
- ERROR,
75
- {
76
- beforeBlockComment: false,
77
- afterBlockComment: false,
78
- beforeLineComment: true,
79
- afterLineComment: false,
80
- allowBlockStart: true,
81
- allowBlockEnd: true,
82
- allowObjectStart: true,
83
- allowObjectEnd: true,
84
- allowArrayStart: true,
85
- allowArrayEnd: true,
86
- allowClassStart: true,
87
- allowClassEnd: true,
88
- applyDefaultIgnorePatterns: true,
89
- afterHashbangComment: false,
90
- allowEnumEnd: true,
91
- allowEnumStart: true,
92
- allowInterfaceEnd: true,
93
- allowInterfaceStart: true,
94
- allowModuleEnd: true,
95
- allowModuleStart: true,
96
- allowTypeEnd: true,
97
- allowTypeStart: true,
98
- },
99
- ],
100
- "@stylistic/lines-between-class-members": [
101
- ERROR,
102
- {
103
- enforce: [
104
- { blankLine: Never, prev: "field", next: "field" },
105
- { blankLine: Always, prev: "field", next: "method" },
106
- { blankLine: Always, prev: "method", next: Star },
107
- ],
108
- },
109
- { exceptAfterSingleLine: false, exceptAfterOverload: true },
110
- ],
111
- "@stylistic/max-len": [
112
- ERROR,
113
- {
114
- code: 150,
115
- tabWidth: 2,
116
- ignoreComments: true,
117
- ignoreTrailingComments: true,
118
- ignoreUrls: true,
119
- ignoreStrings: true,
120
- ignoreTemplateLiterals: true,
121
- ignoreRegExpLiterals: true,
122
- },
123
- ],
124
- "@stylistic/max-statements-per-line": [ERROR, { max: 1 }],
125
- "@stylistic/member-delimiter-style": [
126
- ERROR,
127
- {
128
- multiline: { delimiter: "semi", requireLast: true },
129
- singleline: { delimiter: "semi", requireLast: false },
130
- multilineDetection: "brackets",
131
- },
132
- ],
133
- "@stylistic/multiline-comment-style": OFF,
134
- "@stylistic/multiline-ternary": [ERROR, AlwaysMultiline],
135
- "@stylistic/new-parens": [OFF, Never],
136
- "@stylistic/newline-per-chained-call": [ERROR, { ignoreChainWithDepth: 2 }],
137
- "@stylistic/no-confusing-arrow": OFF,
138
- "@stylistic/no-extra-parens": [
139
- ERROR,
140
- All,
141
- {
142
- conditionalAssign: true,
143
- returnAssign: true,
144
- nestedBinaryExpressions: true,
145
- ternaryOperandBinaryExpressions: true,
146
- enforceForArrowConditionals: true,
147
- enforceForSequenceExpressions: true,
148
- enforceForNewInMemberExpressions: true,
149
- enforceForFunctionPrototypeMethods: true,
150
- },
151
- ],
152
- "@stylistic/no-extra-semi": ERROR,
153
- "@stylistic/no-floating-decimal": ERROR,
154
- "@stylistic/no-mixed-operators": OFF,
155
- "@stylistic/no-mixed-spaces-and-tabs": ERROR,
156
- "@stylistic/no-multi-spaces": [ERROR, { ignoreEOLComments: false, exceptions: { Property: false }, includeTabs: true }],
157
- "@stylistic/no-multiple-empty-lines": [ERROR, { max: 1, maxEOF: 1, maxBOF: 0 }],
158
- "@stylistic/no-tabs": [ERROR, { allowIndentationTabs: false }],
159
- "@stylistic/no-trailing-spaces": [ERROR, { skipBlankLines: false, ignoreComments: false }],
160
- "@stylistic/no-whitespace-before-property": ERROR,
161
- "@stylistic/nonblock-statement-body-position": [
162
- ERROR,
163
- Below,
164
- {
165
- overrides: {
166
- "if": Below,
167
- "else": Below,
168
- "while": Below,
169
- "do": Below,
170
- "for": Below,
171
- },
172
- },
173
- ],
174
- "@stylistic/object-curly-newline": [
175
- ERROR,
176
- {
177
- ObjectExpression: { consistent: true, multiline: true, minProperties: 4 },
178
- ObjectPattern: { consistent: true, multiline: true, minProperties: 4 },
179
- ImportDeclaration: { consistent: true, multiline: true, minProperties: 4 },
180
- ExportDeclaration: { consistent: true, multiline: true, minProperties: 4 },
181
- },
182
- ],
183
- "@stylistic/object-curly-spacing": [ERROR, Always, { arraysInObjects: true, objectsInObjects: true }],
184
- "@stylistic/object-property-newline": [ERROR, { allowAllPropertiesOnSameLine: true }],
185
- "@stylistic/one-var-declaration-per-line": [ERROR, Always],
186
- "@stylistic/operator-linebreak": [ERROR, Before, { overrides: { "=": After } }],
187
- "@stylistic/padded-blocks": [ERROR, { blocks: Never, classes: Never, switches: Never }, { allowSingleLineBlocks: true }],
188
- "@stylistic/padding-line-between-statements": [
189
- ERROR,
190
- { blankLine: Always, prev: "directive", next: Star },
191
- { blankLine: Never, prev: "directive", next: "directive" },
192
- { blankLine: Always, prev: ["import", "cjs-import"], next: Star },
193
- { blankLine: Never, prev: ["import", "cjs-import"], next: ["import", "cjs-import"] },
194
- {
195
- blankLine: Always,
196
- prev: [
197
- "class",
198
- "interface",
199
- "try",
200
- "for",
201
- "if",
202
- "do",
203
- "while",
204
- "switch",
205
- "block",
206
- "block-like",
207
- "iife",
208
- "empty",
209
- "debugger",
210
- "with",
211
- ],
212
- next: Star,
213
- },
214
- { blankLine: Always, prev: "case", next: Star },
215
- { blankLine: Always, prev: "case", next: ["case", "default"] },
216
- { blankLine: Always, prev: "default", next: Star },
217
- { blankLine: Always, prev: "type", next: Star },
218
- { blankLine: Never, prev: "type", next: "type" },
219
- { blankLine: Always, prev: "function", next: Star },
220
- { blankLine: Always, prev: "function-overload", next: Star },
221
- { blankLine: Never, prev: "function-overload", next: "function-overload" },
222
- { blankLine: Never, prev: "function-overload", next: "function" },
223
- { blankLine: Always, prev: ["const", "let", "var"], next: Star },
224
- { blankLine: Never, prev: ["const", "let", "var"], next: ["const", "let", "var"] },
225
- { blankLine: Always, prev: "expression", next: Star },
226
- { blankLine: Never, prev: "expression", next: "expression" },
227
- {
228
- blankLine: Always,
229
- prev: Star,
230
- next: [
231
- "throw",
232
- "return",
233
- "break",
234
- "continue",
235
- ],
236
- },
237
- { blankLine: Always, prev: Star, next: ["export", "cjs-export"] },
238
- { blankLine: Never, prev: ["export", "cjs-export"], next: ["export", "cjs-export"] },
239
- ],
240
- "@stylistic/quote-props": [ERROR, AsNeeded, { keywords: true, unnecessary: true, numbers: false }],
241
- "@stylistic/quotes": [ERROR, Double, { avoidEscape: true, allowTemplateLiterals: true }],
242
- "@stylistic/rest-spread-spacing": [ERROR, Never],
243
- "@stylistic/semi": [ERROR, Always, { omitLastInOneLineBlock: false, omitLastInOneLineClassBody: false }],
244
- "@stylistic/semi-spacing": [ERROR, { before: false, after: true }],
245
- "@stylistic/semi-style": [ERROR, Last],
246
- "@stylistic/space-before-blocks": [ERROR, { functions: Always, keywords: Always, classes: Always }],
247
- "@stylistic/space-before-function-paren": [ERROR, { anonymous: Always, named: Never, asyncArrow: Always }],
248
- "@stylistic/space-in-parens": [ERROR, Never],
249
- "@stylistic/space-infix-ops": [ERROR, { int32Hint: true }],
250
- "@stylistic/space-unary-ops": [ERROR, { words: true, nonwords: false, overrides: {} }],
251
- "@stylistic/spaced-comment": [ERROR, Always],
252
- "@stylistic/switch-colon-spacing": [ERROR, { after: true, before: false }],
253
- "@stylistic/template-curly-spacing": [ERROR, Never],
254
- "@stylistic/template-tag-spacing": [ERROR, Never],
255
- "@stylistic/type-annotation-spacing": [
256
- ERROR,
257
- {
258
- before: true,
259
- after: true,
260
- overrides: { colon: { before: false, after: true } },
261
- },
262
- ],
263
- "@stylistic/type-generic-spacing": ERROR,
264
- "@stylistic/type-named-tuple-spacing": ERROR,
265
- "@stylistic/wrap-iife": [ERROR, Inside, { functionPrototypeMethods: true }],
266
- "@stylistic/wrap-regex": ERROR,
267
- "@stylistic/yield-star-spacing": [ERROR, { before: false, after: true }],
268
- },
269
- ];
270
- //# sourceMappingURL=stylistic.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stylistic.js","sourceRoot":"","sources":["../../../src/rules/js/stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,SAAS,EAAE,GAAG,EAAE,EAClB,EAAE,KAAK,EAAE,GAAG,E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c/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
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA4BW"}
@@ -1,31 +0,0 @@
1
- import { id, level } from "../_strings.js";
2
- const { enable } = id, { ERROR, OFF } = level;
3
- export default [
4
- enable,
5
- {
6
- "jsonc/auto": OFF,
7
- "jsonc/key-name-casing": OFF,
8
- "jsonc/no-bigint-literals": ERROR,
9
- "jsonc/no-binary-expression": ERROR,
10
- "jsonc/no-binary-numeric-literals": ERROR,
11
- "jsonc/no-comments": ERROR,
12
- "jsonc/no-escape-sequence-in-identifier": ERROR,
13
- "jsonc/no-hexadecimal-numeric-literals": ERROR,
14
- "jsonc/no-infinity": ERROR,
15
- "jsonc/no-nan": ERROR,
16
- "jsonc/no-number-props": ERROR,
17
- "jsonc/no-numeric-separators": ERROR,
18
- "jsonc/no-octal-numeric-literals": ERROR,
19
- "jsonc/no-parenthesized": ERROR,
20
- "jsonc/no-plus-sign": ERROR,
21
- "jsonc/no-regexp-literals": ERROR,
22
- "jsonc/no-template-literals": ERROR,
23
- "jsonc/no-undefined-value": ERROR,
24
- "jsonc/no-unicode-codepoint-escapes": ERROR,
25
- "jsonc/sort-array-values": OFF,
26
- "jsonc/sort-keys": OFF,
27
- "jsonc/valid-json-number": ERROR,
28
- "jsonc/vue-custom-block/no-parsing-error": ERROR,
29
- },
30
- ];
31
- //# sourceMappingURL=_enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/json/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEvB,eAAe;IACb,MAAM;IACN;QAEE,YAAY,EAAE,GAAG;QACjB,uBAAuB,EAAE,GAAG;QAC5B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,kCAAkC,EAAE,KAAK;QACzC,mBAAmB,EAAE,KAAK;QAC1B,wCAAwC,EAAE,KAAK;QAC/C,uCAAuC,EAAE,KAAK;QAC9C,mBAAmB,EAAE,KAAK;QAC1B,cAAc,EAAE,KAAK;QACrB,uBAAuB,EAAE,KAAK;QAC9B,6BAA6B,EAAE,KAAK;QACpC,iCAAiC,EAAE,KAAK;QACxC,wBAAwB,EAAE,KAAK;QAC/B,oBAAoB,EAAE,KAAK;QAC3B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,0BAA0B,EAAE,KAAK;QACjC,oCAAoC,EAAE,KAAK;QAC3C,yBAAyB,EAAE,GAAG;QAC9B,iBAAiB,EAAE,GAAG;QACtB,yBAAyB,EAAE,KAAK;QAChC,yCAAyC,EAAE,KAAK;KACjD;CACO,CAAC"}
@@ -1,7 +0,0 @@
1
- declare const _default: readonly ["enable", {
2
- readonly "markdownlint/md003": readonly ["error", {
3
- readonly style: "atx";
4
- }];
5
- }];
6
- export default _default;
7
- //# sourceMappingURL=_enable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/md/_enable.ts"],"names":[],"mappings":";;;;;AAMA,wBAOW"}
@@ -1,9 +0,0 @@
1
- import { id, level } from "../_strings.js";
2
- const { enable } = id, { ERROR } = level;
3
- export default [
4
- enable,
5
- {
6
- "markdownlint/md003": [ERROR, { style: "atx" }],
7
- },
8
- ];
9
- //# sourceMappingURL=_enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/md/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;AAElB,eAAe;IACb,MAAM;IACN;QAGE,oBAAoB,EAAE,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;KAChD;CACO,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const _default: readonly ["enable", {}];
2
- export default _default;
3
- //# sourceMappingURL=_enable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/_enable.ts"],"names":[],"mappings":";AAIA,wBAAqC"}
@@ -1,4 +0,0 @@
1
- import { id } from "../_strings.js";
2
- const { enable } = id;
3
- export default [enable, {}];
4
- //# sourceMappingURL=_enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/mocha/_enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAEpC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;AAEtB,eAAe,CAAC,MAAM,EAAE,EAAE,CAAU,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const _default: readonly ["recommended", Record<string, "off">];
2
- export default _default;
3
- //# sourceMappingURL=_recommended.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_recommended.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/_recommended.ts"],"names":[],"mappings":";AAMA,wBAAwH"}
@@ -1,5 +0,0 @@
1
- import { id } from "../_strings.js";
2
- import mocha from "eslint-plugin-mocha";
3
- const { recommended } = id;
4
- export default [recommended, mocha.configs.flat.recommended.rules];
5
- //# sourceMappingURL=_recommended.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_recommended.js","sourceRoot":"","sources":["../../../src/rules/mocha/_recommended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAExC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC;AAG3B,eAAe,CAAC,WAAW,EAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAsD,CAAC,KAAK,CAAU,CAAC"}
@@ -1,126 +0,0 @@
1
- declare const _default: readonly ["enable", {
2
- readonly "svelte/infinite-reactive-loop": "error";
3
- readonly "svelte/no-dom-manipulating": "error";
4
- readonly "svelte/no-dupe-else-if-blocks": "error";
5
- readonly "svelte/no-dupe-on-directives": "error";
6
- readonly "svelte/no-dupe-style-properties": "error";
7
- readonly "svelte/no-dupe-use-directives": "error";
8
- readonly "svelte/no-dynamic-slot-name": "error";
9
- readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
10
- readonly "svelte/no-not-function-handler": "error";
11
- readonly "svelte/no-object-in-text-mustaches": "error";
12
- readonly "svelte/no-reactive-reassign": readonly ["error", {
13
- readonly props: true;
14
- }];
15
- readonly "svelte/no-shorthand-style-property-overrides": "error";
16
- readonly "svelte/no-store-async": "error";
17
- readonly "svelte/no-unknown-style-directive-property": readonly ["error", {
18
- readonly ignorePrefixed: true;
19
- }];
20
- readonly "svelte/require-store-callbacks-use-set-param": "error";
21
- readonly "svelte/require-store-reactive-access": "error";
22
- readonly "svelte/valid-compile": readonly ["error", {
23
- readonly ignoreWarnings: false;
24
- }];
25
- readonly "svelte/valid-prop-names-in-kit-pages": "error";
26
- readonly "svelte/no-at-html-tags": "error";
27
- readonly "svelte/no-target-blank": readonly ["error", {
28
- readonly allowReferrer: false;
29
- readonly enforceDynamicLinks: "always";
30
- }];
31
- readonly "svelte/block-lang": readonly ["error", {
32
- readonly enforceScriptPresent: true;
33
- readonly enforceStylePresent: false;
34
- readonly script: readonly ["ts"];
35
- readonly style: readonly ["css", "scss"];
36
- }];
37
- readonly "svelte/button-has-type": readonly ["error", {
38
- readonly button: true;
39
- readonly submit: true;
40
- readonly reset: true;
41
- }];
42
- readonly "svelte/no-at-debug-tags": "error";
43
- readonly "svelte/no-ignored-unsubscribe": "error";
44
- readonly "svelte/no-immutable-reactive-statements": "error";
45
- readonly "svelte/no-inline-styles": readonly ["error", {
46
- readonly allowTransitions: false;
47
- }];
48
- readonly "svelte/no-reactive-functions": "error";
49
- readonly "svelte/no-reactive-literals": "error";
50
- readonly "svelte/no-svelte-internal": "error";
51
- readonly "svelte/no-unused-class-name": "error";
52
- readonly "svelte/no-unused-svelte-ignore": "error";
53
- readonly "svelte/no-useless-mustaches": readonly ["error", {
54
- readonly ignoreIncludesComment: false;
55
- readonly ignoreStringEscape: false;
56
- }];
57
- readonly "svelte/prefer-destructured-store-props": "error";
58
- readonly "svelte/require-each-key": "error";
59
- readonly "svelte/require-event-dispatcher-types": "error";
60
- readonly "svelte/require-optimized-style-attribute": "error";
61
- readonly "svelte/require-stores-init": "error";
62
- readonly "svelte/valid-each-key": "error";
63
- readonly "svelte/derived-has-same-inputs-outputs": "error";
64
- readonly "svelte/first-attribute-linebreak": readonly ["error", {
65
- readonly multiline: "below";
66
- readonly singleline: "below";
67
- }];
68
- readonly "svelte/html-closing-bracket-spacing": readonly ["error", {
69
- readonly startTag: "never";
70
- readonly endTag: "never";
71
- readonly selfClosingTag: "always";
72
- }];
73
- readonly "svelte/html-quotes": readonly ["error", {
74
- readonly prefer: "double";
75
- readonly dynamic: {
76
- readonly quoted: false;
77
- readonly avoidInvalidUnquotedInHTML: true;
78
- };
79
- }];
80
- readonly "svelte/html-self-closing": readonly ["error", {
81
- readonly void: "always";
82
- readonly normal: "always";
83
- readonly component: "always";
84
- readonly svelte: "always";
85
- }];
86
- readonly "svelte/indent": readonly ["error", {
87
- readonly indent: 2;
88
- readonly switchCase: 1;
89
- readonly alignAttributesVertically: true;
90
- }];
91
- readonly "svelte/max-attributes-per-line": readonly ["error", {
92
- readonly multiline: 1;
93
- readonly singleline: 1;
94
- }];
95
- readonly "svelte/mustache-spacing": readonly ["error", {
96
- readonly textExpressions: "never";
97
- readonly attributesAndProps: "never";
98
- readonly directiveExpressions: "never";
99
- readonly tags: {
100
- readonly openingBrace: "never";
101
- readonly closingBrace: "never";
102
- };
103
- }];
104
- readonly "svelte/no-extra-reactive-curlies": "error";
105
- readonly "svelte/no-restricted-html-elements": "off";
106
- readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
107
- readonly "svelte/prefer-class-directive": readonly ["error", {
108
- readonly prefer: "empty";
109
- }];
110
- readonly "svelte/prefer-style-directive": "error";
111
- readonly "svelte/shorthand-attribute": readonly ["error", {
112
- readonly prefer: "always";
113
- }];
114
- readonly "svelte/shorthand-directive": readonly ["error", {
115
- readonly prefer: "always";
116
- }];
117
- readonly "svelte/sort-attributes": "off";
118
- readonly "svelte/spaced-html-comment": readonly ["error", "always"];
119
- readonly "svelte/no-goto-without-base": "error";
120
- readonly "svelte/comment-directive": readonly ["error", {
121
- readonly reportUnusedDisableDirectives: true;
122
- }];
123
- readonly "svelte/system": "error";
124
- }];
125
- export default _default;
126
- //# sourceMappingURL=_enable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAoHW"}
@@ -1,90 +0,0 @@
1
- import { id, level, state } from "../_strings.js";
2
- const { enable } = id, { ERROR, OFF } = level, { Never, Always, Below, Double, } = state;
3
- export default [
4
- enable,
5
- {
6
- "svelte/infinite-reactive-loop": ERROR,
7
- "svelte/no-dom-manipulating": ERROR,
8
- "svelte/no-dupe-else-if-blocks": ERROR,
9
- "svelte/no-dupe-on-directives": ERROR,
10
- "svelte/no-dupe-style-properties": ERROR,
11
- "svelte/no-dupe-use-directives": ERROR,
12
- "svelte/no-dynamic-slot-name": ERROR,
13
- "svelte/no-export-load-in-svelte-module-in-kit-pages": ERROR,
14
- "svelte/no-not-function-handler": ERROR,
15
- "svelte/no-object-in-text-mustaches": ERROR,
16
- "svelte/no-reactive-reassign": [ERROR, { props: true }],
17
- "svelte/no-shorthand-style-property-overrides": ERROR,
18
- "svelte/no-store-async": ERROR,
19
- "svelte/no-unknown-style-directive-property": [ERROR, { ignorePrefixed: true }],
20
- "svelte/require-store-callbacks-use-set-param": ERROR,
21
- "svelte/require-store-reactive-access": ERROR,
22
- "svelte/valid-compile": [ERROR, { ignoreWarnings: false }],
23
- "svelte/valid-prop-names-in-kit-pages": ERROR,
24
- "svelte/no-at-html-tags": ERROR,
25
- "svelte/no-target-blank": [ERROR, { allowReferrer: false, enforceDynamicLinks: Always }],
26
- "svelte/block-lang": [
27
- ERROR,
28
- {
29
- enforceScriptPresent: true,
30
- enforceStylePresent: false,
31
- script: ["ts"],
32
- style: ["css", "scss"],
33
- },
34
- ],
35
- "svelte/button-has-type": [ERROR, { button: true, submit: true, reset: true }],
36
- "svelte/no-at-debug-tags": ERROR,
37
- "svelte/no-ignored-unsubscribe": ERROR,
38
- "svelte/no-immutable-reactive-statements": ERROR,
39
- "svelte/no-inline-styles": [ERROR, { allowTransitions: false }],
40
- "svelte/no-reactive-functions": ERROR,
41
- "svelte/no-reactive-literals": ERROR,
42
- "svelte/no-svelte-internal": ERROR,
43
- "svelte/no-unused-class-name": ERROR,
44
- "svelte/no-unused-svelte-ignore": ERROR,
45
- "svelte/no-useless-mustaches": [ERROR, { ignoreIncludesComment: false, ignoreStringEscape: false }],
46
- "svelte/prefer-destructured-store-props": ERROR,
47
- "svelte/require-each-key": ERROR,
48
- "svelte/require-event-dispatcher-types": ERROR,
49
- "svelte/require-optimized-style-attribute": ERROR,
50
- "svelte/require-stores-init": ERROR,
51
- "svelte/valid-each-key": ERROR,
52
- "svelte/derived-has-same-inputs-outputs": ERROR,
53
- "svelte/first-attribute-linebreak": [ERROR, { multiline: Below, singleline: Below }],
54
- "svelte/html-closing-bracket-spacing": [ERROR, { startTag: Never, endTag: Never, selfClosingTag: Always }],
55
- "svelte/html-quotes": [ERROR, { prefer: Double, dynamic: { quoted: false, avoidInvalidUnquotedInHTML: true } }],
56
- "svelte/html-self-closing": [
57
- ERROR,
58
- {
59
- "void": Always,
60
- normal: Always,
61
- component: Always,
62
- svelte: Always,
63
- },
64
- ],
65
- "svelte/indent": [ERROR, { indent: 2, switchCase: 1, alignAttributesVertically: true }],
66
- "svelte/max-attributes-per-line": [ERROR, { multiline: 1, singleline: 1 }],
67
- "svelte/mustache-spacing": [
68
- ERROR,
69
- {
70
- textExpressions: Never,
71
- attributesAndProps: Never,
72
- directiveExpressions: Never,
73
- tags: { openingBrace: Never, closingBrace: Never },
74
- },
75
- ],
76
- "svelte/no-extra-reactive-curlies": ERROR,
77
- "svelte/no-restricted-html-elements": OFF,
78
- "svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
79
- "svelte/prefer-class-directive": [ERROR, { prefer: "empty" }],
80
- "svelte/prefer-style-directive": ERROR,
81
- "svelte/shorthand-attribute": [ERROR, { prefer: Always }],
82
- "svelte/shorthand-directive": [ERROR, { prefer: Always }],
83
- "svelte/sort-attributes": OFF,
84
- "svelte/spaced-html-comment": [ERROR, Always],
85
- "svelte/no-goto-without-base": ERROR,
86
- "svelte/comment-directive": [ERROR, { reportUnusedDisableDirectives: true }],
87
- "svelte/system": ERROR,
88
- },
89
- ];
90
- //# sourceMappingURL=_enable.js.map