@jsse/eslint-config 0.4.8 → 0.4.11
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.
- package/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +11 -8
- package/dist/index.d.ts +14 -4
- package/dist/index.js +38 -132
- package/dist/version-Cmu7XVG1.js +39 -0
- package/package.json +23 -20
- package/dist/esm/cli.d.ts +0 -1
- package/dist/esm/cli.js +0 -121
- package/dist/esm/config-fns.d.ts +0 -138
- package/dist/esm/config-fns.js +0 -161
- package/dist/esm/configs/antfu.d.ts +0 -4
- package/dist/esm/configs/antfu.js +0 -30
- package/dist/esm/configs/command.d.ts +0 -10
- package/dist/esm/configs/command.js +0 -17
- package/dist/esm/configs/de-morgan.d.ts +0 -2
- package/dist/esm/configs/de-morgan.js +0 -9
- package/dist/esm/configs/eslint-comments.d.ts +0 -2
- package/dist/esm/configs/eslint-comments.js +0 -16
- package/dist/esm/configs/gql.d.ts +0 -2
- package/dist/esm/configs/gql.js +0 -4
- package/dist/esm/configs/ignores.d.ts +0 -2
- package/dist/esm/configs/ignores.js +0 -9
- package/dist/esm/configs/imports.d.ts +0 -2
- package/dist/esm/configs/imports.js +0 -28
- package/dist/esm/configs/javascript.d.ts +0 -6
- package/dist/esm/configs/javascript.js +0 -262
- package/dist/esm/configs/jsdoc.d.ts +0 -2
- package/dist/esm/configs/jsdoc.js +0 -31
- package/dist/esm/configs/jsonc.d.ts +0 -4
- package/dist/esm/configs/jsonc.js +0 -76
- package/dist/esm/configs/markdown.d.ts +0 -4
- package/dist/esm/configs/markdown.js +0 -122
- package/dist/esm/configs/n.d.ts +0 -2
- package/dist/esm/configs/n.js +0 -21
- package/dist/esm/configs/no-only-tests.d.ts +0 -4
- package/dist/esm/configs/no-only-tests.js +0 -31
- package/dist/esm/configs/perfectionist.d.ts +0 -7
- package/dist/esm/configs/perfectionist.js +0 -60
- package/dist/esm/configs/pnpm.d.ts +0 -2
- package/dist/esm/configs/pnpm.js +0 -34
- package/dist/esm/configs/prettier.d.ts +0 -7
- package/dist/esm/configs/prettier.js +0 -126
- package/dist/esm/configs/react.d.ts +0 -6
- package/dist/esm/configs/react.js +0 -300
- package/dist/esm/configs/sort-package-json.d.ts +0 -7
- package/dist/esm/configs/sort-package-json.js +0 -102
- package/dist/esm/configs/sort-tsconfig.d.ts +0 -14
- package/dist/esm/configs/sort-tsconfig.js +0 -135
- package/dist/esm/configs/stylistic.d.ts +0 -2
- package/dist/esm/configs/stylistic.js +0 -39
- package/dist/esm/configs/tailwind.d.ts +0 -1
- package/dist/esm/configs/tailwind.js +0 -81
- package/dist/esm/configs/toml.d.ts +0 -2
- package/dist/esm/configs/toml.js +0 -50
- package/dist/esm/configs/ts/parser.d.ts +0 -7
- package/dist/esm/configs/ts/parser.js +0 -71
- package/dist/esm/configs/ts/requires-type-checking.d.ts +0 -1
- package/dist/esm/configs/ts/requires-type-checking.js +0 -61
- package/dist/esm/configs/ts/typescript-language-options.d.ts +0 -2
- package/dist/esm/configs/ts/typescript-language-options.js +0 -22
- package/dist/esm/configs/ts/typescript-rules.d.ts +0 -11
- package/dist/esm/configs/ts/typescript-rules.js +0 -379
- package/dist/esm/configs/ts/typescript.d.ts +0 -4
- package/dist/esm/configs/ts/typescript.js +0 -123
- package/dist/esm/configs/tsdoc.d.ts +0 -2
- package/dist/esm/configs/tsdoc.js +0 -16
- package/dist/esm/configs/unicorn.d.ts +0 -2
- package/dist/esm/configs/unicorn.js +0 -114
- package/dist/esm/configs/vitest.d.ts +0 -4
- package/dist/esm/configs/vitest.js +0 -29
- package/dist/esm/configs/yml.d.ts +0 -4
- package/dist/esm/configs/yml.js +0 -51
- package/dist/esm/const.d.ts +0 -5
- package/dist/esm/const.js +0 -25
- package/dist/esm/define-config.d.ts +0 -7
- package/dist/esm/define-config.js +0 -256
- package/dist/esm/dev.d.ts +0 -4
- package/dist/esm/dev.js +0 -25
- package/dist/esm/fixable.d.ts +0 -2
- package/dist/esm/fixable.js +0 -4
- package/dist/esm/generated/fixable-rules-map.d.ts +0 -2
- package/dist/esm/generated/fixable-rules-map.js +0 -443
- package/dist/esm/generated/version.d.ts +0 -1
- package/dist/esm/generated/version.js +0 -1
- package/dist/esm/globs.d.ts +0 -25
- package/dist/esm/globs.js +0 -73
- package/dist/esm/index.d.ts +0 -9
- package/dist/esm/index.js +0 -8
- package/dist/esm/lager.d.ts +0 -32
- package/dist/esm/lager.js +0 -87
- package/dist/esm/log.d.ts +0 -2
- package/dist/esm/log.js +0 -2
- package/dist/esm/plugins-all.d.ts +0 -26
- package/dist/esm/plugins-all.js +0 -120
- package/dist/esm/plugins.d.ts +0 -1570
- package/dist/esm/plugins.js +0 -97
- package/dist/esm/presets.d.ts +0 -18
- package/dist/esm/presets.js +0 -75
- package/dist/esm/types.d.ts +0 -287
- package/dist/esm/types.js +0 -1
- package/dist/esm/utils.d.ts +0 -51
- package/dist/esm/utils.js +0 -156
- package/dist/version-PF6gUNyJ.js +0 -5
|
@@ -1,443 +0,0 @@
|
|
|
1
|
-
export const FIXABLE_RULES_MAP = {
|
|
2
|
-
antfu: [
|
|
3
|
-
"antfu/consistent-chaining",
|
|
4
|
-
"antfu/consistent-list-newline",
|
|
5
|
-
"antfu/curly",
|
|
6
|
-
"antfu/if-newline",
|
|
7
|
-
"antfu/import-dedupe",
|
|
8
|
-
"antfu/indent-unindent",
|
|
9
|
-
"antfu/top-level-function",
|
|
10
|
-
],
|
|
11
|
-
deMorgan: [
|
|
12
|
-
"de-morgan/no-negated-conjunction",
|
|
13
|
-
"de-morgan/no-negated-disjunction",
|
|
14
|
-
],
|
|
15
|
-
eslintComments: [],
|
|
16
|
-
import: [
|
|
17
|
-
"import/consistent-type-specifier-style",
|
|
18
|
-
"import/first",
|
|
19
|
-
"import/newline-after-import",
|
|
20
|
-
"import/no-duplicates",
|
|
21
|
-
],
|
|
22
|
-
jsdoc: [
|
|
23
|
-
"jsdoc/check-alignment",
|
|
24
|
-
"jsdoc/check-line-alignment",
|
|
25
|
-
"jsdoc/check-param-names",
|
|
26
|
-
"jsdoc/check-property-names",
|
|
27
|
-
"jsdoc/check-tag-names",
|
|
28
|
-
"jsdoc/check-types",
|
|
29
|
-
"jsdoc/convert-to-jsdoc-comments",
|
|
30
|
-
"jsdoc/empty-tags",
|
|
31
|
-
"jsdoc/lines-before-block",
|
|
32
|
-
"jsdoc/match-name",
|
|
33
|
-
"jsdoc/multiline-blocks",
|
|
34
|
-
"jsdoc/no-bad-blocks",
|
|
35
|
-
"jsdoc/no-blank-block-descriptions",
|
|
36
|
-
"jsdoc/no-blank-blocks",
|
|
37
|
-
"jsdoc/no-defaults",
|
|
38
|
-
"jsdoc/no-missing-syntax",
|
|
39
|
-
"jsdoc/no-multi-asterisks",
|
|
40
|
-
"jsdoc/no-restricted-syntax",
|
|
41
|
-
"jsdoc/no-types",
|
|
42
|
-
"jsdoc/require-asterisk-prefix",
|
|
43
|
-
"jsdoc/require-description-complete-sentence",
|
|
44
|
-
"jsdoc/require-example",
|
|
45
|
-
"jsdoc/require-hyphen-before-param-description",
|
|
46
|
-
"jsdoc/require-jsdoc",
|
|
47
|
-
"jsdoc/require-param",
|
|
48
|
-
"jsdoc/require-param-description",
|
|
49
|
-
"jsdoc/require-param-type",
|
|
50
|
-
"jsdoc/require-property",
|
|
51
|
-
"jsdoc/require-returns",
|
|
52
|
-
"jsdoc/sort-tags",
|
|
53
|
-
"jsdoc/tag-lines",
|
|
54
|
-
"jsdoc/text-escaping",
|
|
55
|
-
],
|
|
56
|
-
jsonc: [
|
|
57
|
-
"jsonc/array-bracket-newline",
|
|
58
|
-
"jsonc/array-bracket-spacing",
|
|
59
|
-
"jsonc/array-element-newline",
|
|
60
|
-
"jsonc/auto",
|
|
61
|
-
"jsonc/comma-dangle",
|
|
62
|
-
"jsonc/comma-style",
|
|
63
|
-
"jsonc/indent",
|
|
64
|
-
"jsonc/key-spacing",
|
|
65
|
-
"jsonc/no-binary-expression",
|
|
66
|
-
"jsonc/no-binary-numeric-literals",
|
|
67
|
-
"jsonc/no-escape-sequence-in-identifier",
|
|
68
|
-
"jsonc/no-floating-decimal",
|
|
69
|
-
"jsonc/no-hexadecimal-numeric-literals",
|
|
70
|
-
"jsonc/no-number-props",
|
|
71
|
-
"jsonc/no-numeric-separators",
|
|
72
|
-
"jsonc/no-octal-numeric-literals",
|
|
73
|
-
"jsonc/no-parenthesized",
|
|
74
|
-
"jsonc/no-plus-sign",
|
|
75
|
-
"jsonc/no-template-literals",
|
|
76
|
-
"jsonc/no-unicode-codepoint-escapes",
|
|
77
|
-
"jsonc/object-curly-newline",
|
|
78
|
-
"jsonc/object-curly-spacing",
|
|
79
|
-
"jsonc/object-property-newline",
|
|
80
|
-
"jsonc/quote-props",
|
|
81
|
-
"jsonc/quotes",
|
|
82
|
-
"jsonc/sort-array-values",
|
|
83
|
-
"jsonc/sort-keys",
|
|
84
|
-
"jsonc/space-unary-ops",
|
|
85
|
-
"jsonc/valid-json-number",
|
|
86
|
-
],
|
|
87
|
-
markdown: [
|
|
88
|
-
"markdown/no-bare-urls",
|
|
89
|
-
"markdown/no-missing-atx-heading-space",
|
|
90
|
-
"markdown/no-reversed-media-syntax",
|
|
91
|
-
],
|
|
92
|
-
n: [
|
|
93
|
-
"n/exports-style",
|
|
94
|
-
"n/file-extension-in-import",
|
|
95
|
-
"n/hashbang",
|
|
96
|
-
"n/prefer-node-protocol",
|
|
97
|
-
"n/shebang",
|
|
98
|
-
],
|
|
99
|
-
noOnlyTests: ["no-only-tests/no-only-tests"],
|
|
100
|
-
perfectionist: [
|
|
101
|
-
"perfectionist/sort-array-includes",
|
|
102
|
-
"perfectionist/sort-classes",
|
|
103
|
-
"perfectionist/sort-decorators",
|
|
104
|
-
"perfectionist/sort-enums",
|
|
105
|
-
"perfectionist/sort-exports",
|
|
106
|
-
"perfectionist/sort-heritage-clauses",
|
|
107
|
-
"perfectionist/sort-imports",
|
|
108
|
-
"perfectionist/sort-interfaces",
|
|
109
|
-
"perfectionist/sort-intersection-types",
|
|
110
|
-
"perfectionist/sort-jsx-props",
|
|
111
|
-
"perfectionist/sort-maps",
|
|
112
|
-
"perfectionist/sort-modules",
|
|
113
|
-
"perfectionist/sort-named-exports",
|
|
114
|
-
"perfectionist/sort-named-imports",
|
|
115
|
-
"perfectionist/sort-object-types",
|
|
116
|
-
"perfectionist/sort-objects",
|
|
117
|
-
"perfectionist/sort-sets",
|
|
118
|
-
"perfectionist/sort-switch-case",
|
|
119
|
-
"perfectionist/sort-union-types",
|
|
120
|
-
"perfectionist/sort-variable-declarations",
|
|
121
|
-
],
|
|
122
|
-
pnpm: [
|
|
123
|
-
"pnpm/json-enforce-catalog",
|
|
124
|
-
"pnpm/json-prefer-workspace-settings",
|
|
125
|
-
"pnpm/json-valid-catalog",
|
|
126
|
-
"pnpm/yaml-no-duplicate-catalog-item",
|
|
127
|
-
"pnpm/yaml-no-unused-catalog-item",
|
|
128
|
-
],
|
|
129
|
-
react: [
|
|
130
|
-
"react/destructuring-assignment",
|
|
131
|
-
"react/function-component-definition",
|
|
132
|
-
"react/jsx-boolean-value",
|
|
133
|
-
"react/jsx-closing-bracket-location",
|
|
134
|
-
"react/jsx-closing-tag-location",
|
|
135
|
-
"react/jsx-curly-brace-presence",
|
|
136
|
-
"react/jsx-curly-newline",
|
|
137
|
-
"react/jsx-curly-spacing",
|
|
138
|
-
"react/jsx-equals-spacing",
|
|
139
|
-
"react/jsx-first-prop-new-line",
|
|
140
|
-
"react/jsx-fragments",
|
|
141
|
-
"react/jsx-indent",
|
|
142
|
-
"react/jsx-indent-props",
|
|
143
|
-
"react/jsx-max-props-per-line",
|
|
144
|
-
"react/jsx-newline",
|
|
145
|
-
"react/jsx-no-leaked-render",
|
|
146
|
-
"react/jsx-no-target-blank",
|
|
147
|
-
"react/jsx-no-useless-fragment",
|
|
148
|
-
"react/jsx-one-expression-per-line",
|
|
149
|
-
"react/jsx-props-no-multi-spaces",
|
|
150
|
-
"react/jsx-sort-props",
|
|
151
|
-
"react/jsx-space-before-closing",
|
|
152
|
-
"react/jsx-tag-spacing",
|
|
153
|
-
"react/jsx-wrap-multilines",
|
|
154
|
-
"react/no-arrow-function-lifecycle",
|
|
155
|
-
"react/no-unknown-property",
|
|
156
|
-
"react/prefer-read-only-props",
|
|
157
|
-
"react/self-closing-comp",
|
|
158
|
-
"react/sort-prop-types",
|
|
159
|
-
],
|
|
160
|
-
reactHooks: ["react-hooks/exhaustive-deps"],
|
|
161
|
-
reactRefresh: [],
|
|
162
|
-
stylistic: [
|
|
163
|
-
"@stylistic/array-bracket-newline",
|
|
164
|
-
"@stylistic/array-bracket-spacing",
|
|
165
|
-
"@stylistic/array-element-newline",
|
|
166
|
-
"@stylistic/arrow-parens",
|
|
167
|
-
"@stylistic/arrow-spacing",
|
|
168
|
-
"@stylistic/block-spacing",
|
|
169
|
-
"@stylistic/brace-style",
|
|
170
|
-
"@stylistic/comma-dangle",
|
|
171
|
-
"@stylistic/comma-spacing",
|
|
172
|
-
"@stylistic/comma-style",
|
|
173
|
-
"@stylistic/computed-property-spacing",
|
|
174
|
-
"@stylistic/curly-newline",
|
|
175
|
-
"@stylistic/dot-location",
|
|
176
|
-
"@stylistic/eol-last",
|
|
177
|
-
"@stylistic/function-call-argument-newline",
|
|
178
|
-
"@stylistic/function-call-spacing",
|
|
179
|
-
"@stylistic/function-paren-newline",
|
|
180
|
-
"@stylistic/generator-star-spacing",
|
|
181
|
-
"@stylistic/implicit-arrow-linebreak",
|
|
182
|
-
"@stylistic/indent",
|
|
183
|
-
"@stylistic/indent-binary-ops",
|
|
184
|
-
"@stylistic/jsx-closing-bracket-location",
|
|
185
|
-
"@stylistic/jsx-closing-tag-location",
|
|
186
|
-
"@stylistic/jsx-curly-brace-presence",
|
|
187
|
-
"@stylistic/jsx-curly-newline",
|
|
188
|
-
"@stylistic/jsx-curly-spacing",
|
|
189
|
-
"@stylistic/jsx-equals-spacing",
|
|
190
|
-
"@stylistic/jsx-first-prop-new-line",
|
|
191
|
-
"@stylistic/jsx-function-call-newline",
|
|
192
|
-
"@stylistic/jsx-indent",
|
|
193
|
-
"@stylistic/jsx-indent-props",
|
|
194
|
-
"@stylistic/jsx-max-props-per-line",
|
|
195
|
-
"@stylistic/jsx-newline",
|
|
196
|
-
"@stylistic/jsx-one-expression-per-line",
|
|
197
|
-
"@stylistic/jsx-props-no-multi-spaces",
|
|
198
|
-
"@stylistic/jsx-quotes",
|
|
199
|
-
"@stylistic/jsx-self-closing-comp",
|
|
200
|
-
"@stylistic/jsx-sort-props",
|
|
201
|
-
"@stylistic/jsx-tag-spacing",
|
|
202
|
-
"@stylistic/jsx-wrap-multilines",
|
|
203
|
-
"@stylistic/key-spacing",
|
|
204
|
-
"@stylistic/keyword-spacing",
|
|
205
|
-
"@stylistic/linebreak-style",
|
|
206
|
-
"@stylistic/lines-around-comment",
|
|
207
|
-
"@stylistic/lines-between-class-members",
|
|
208
|
-
"@stylistic/member-delimiter-style",
|
|
209
|
-
"@stylistic/multiline-comment-style",
|
|
210
|
-
"@stylistic/multiline-ternary",
|
|
211
|
-
"@stylistic/new-parens",
|
|
212
|
-
"@stylistic/newline-per-chained-call",
|
|
213
|
-
"@stylistic/no-confusing-arrow",
|
|
214
|
-
"@stylistic/no-extra-parens",
|
|
215
|
-
"@stylistic/no-extra-semi",
|
|
216
|
-
"@stylistic/no-floating-decimal",
|
|
217
|
-
"@stylistic/no-multi-spaces",
|
|
218
|
-
"@stylistic/no-multiple-empty-lines",
|
|
219
|
-
"@stylistic/no-trailing-spaces",
|
|
220
|
-
"@stylistic/no-whitespace-before-property",
|
|
221
|
-
"@stylistic/nonblock-statement-body-position",
|
|
222
|
-
"@stylistic/object-curly-newline",
|
|
223
|
-
"@stylistic/object-curly-spacing",
|
|
224
|
-
"@stylistic/object-property-newline",
|
|
225
|
-
"@stylistic/one-var-declaration-per-line",
|
|
226
|
-
"@stylistic/operator-linebreak",
|
|
227
|
-
"@stylistic/padded-blocks",
|
|
228
|
-
"@stylistic/padding-line-between-statements",
|
|
229
|
-
"@stylistic/quote-props",
|
|
230
|
-
"@stylistic/quotes",
|
|
231
|
-
"@stylistic/rest-spread-spacing",
|
|
232
|
-
"@stylistic/semi",
|
|
233
|
-
"@stylistic/semi-spacing",
|
|
234
|
-
"@stylistic/semi-style",
|
|
235
|
-
"@stylistic/space-before-blocks",
|
|
236
|
-
"@stylistic/space-before-function-paren",
|
|
237
|
-
"@stylistic/space-in-parens",
|
|
238
|
-
"@stylistic/space-infix-ops",
|
|
239
|
-
"@stylistic/space-unary-ops",
|
|
240
|
-
"@stylistic/spaced-comment",
|
|
241
|
-
"@stylistic/switch-colon-spacing",
|
|
242
|
-
"@stylistic/template-curly-spacing",
|
|
243
|
-
"@stylistic/template-tag-spacing",
|
|
244
|
-
"@stylistic/type-annotation-spacing",
|
|
245
|
-
"@stylistic/type-generic-spacing",
|
|
246
|
-
"@stylistic/type-named-tuple-spacing",
|
|
247
|
-
"@stylistic/wrap-iife",
|
|
248
|
-
"@stylistic/wrap-regex",
|
|
249
|
-
"@stylistic/yield-star-spacing",
|
|
250
|
-
],
|
|
251
|
-
tsdoc: [],
|
|
252
|
-
typescript: [
|
|
253
|
-
"@typescript-eslint/array-type",
|
|
254
|
-
"@typescript-eslint/ban-tslint-comment",
|
|
255
|
-
"@typescript-eslint/consistent-generic-constructors",
|
|
256
|
-
"@typescript-eslint/consistent-indexed-object-style",
|
|
257
|
-
"@typescript-eslint/consistent-type-assertions",
|
|
258
|
-
"@typescript-eslint/consistent-type-definitions",
|
|
259
|
-
"@typescript-eslint/consistent-type-exports",
|
|
260
|
-
"@typescript-eslint/consistent-type-imports",
|
|
261
|
-
"@typescript-eslint/dot-notation",
|
|
262
|
-
"@typescript-eslint/explicit-member-accessibility",
|
|
263
|
-
"@typescript-eslint/method-signature-style",
|
|
264
|
-
"@typescript-eslint/no-array-constructor",
|
|
265
|
-
"@typescript-eslint/no-confusing-void-expression",
|
|
266
|
-
"@typescript-eslint/no-duplicate-type-constituents",
|
|
267
|
-
"@typescript-eslint/no-dynamic-delete",
|
|
268
|
-
"@typescript-eslint/no-empty-interface",
|
|
269
|
-
"@typescript-eslint/no-explicit-any",
|
|
270
|
-
"@typescript-eslint/no-extra-non-null-assertion",
|
|
271
|
-
"@typescript-eslint/no-import-type-side-effects",
|
|
272
|
-
"@typescript-eslint/no-inferrable-types",
|
|
273
|
-
"@typescript-eslint/no-meaningless-void-operator",
|
|
274
|
-
"@typescript-eslint/no-restricted-types",
|
|
275
|
-
"@typescript-eslint/no-unnecessary-boolean-literal-compare",
|
|
276
|
-
"@typescript-eslint/no-unnecessary-qualifier",
|
|
277
|
-
"@typescript-eslint/no-unnecessary-template-expression",
|
|
278
|
-
"@typescript-eslint/no-unnecessary-type-arguments",
|
|
279
|
-
"@typescript-eslint/no-unnecessary-type-assertion",
|
|
280
|
-
"@typescript-eslint/no-useless-empty-export",
|
|
281
|
-
"@typescript-eslint/no-wrapper-object-types",
|
|
282
|
-
"@typescript-eslint/non-nullable-type-assertion-style",
|
|
283
|
-
"@typescript-eslint/prefer-as-const",
|
|
284
|
-
"@typescript-eslint/prefer-destructuring",
|
|
285
|
-
"@typescript-eslint/prefer-function-type",
|
|
286
|
-
"@typescript-eslint/prefer-includes",
|
|
287
|
-
"@typescript-eslint/prefer-namespace-keyword",
|
|
288
|
-
"@typescript-eslint/prefer-optional-chain",
|
|
289
|
-
"@typescript-eslint/prefer-readonly",
|
|
290
|
-
"@typescript-eslint/prefer-reduce-type-parameter",
|
|
291
|
-
"@typescript-eslint/prefer-regexp-exec",
|
|
292
|
-
"@typescript-eslint/prefer-return-this-type",
|
|
293
|
-
"@typescript-eslint/prefer-string-starts-ends-with",
|
|
294
|
-
"@typescript-eslint/prefer-ts-expect-error",
|
|
295
|
-
"@typescript-eslint/promise-function-async",
|
|
296
|
-
"@typescript-eslint/return-await",
|
|
297
|
-
"@typescript-eslint/sort-type-constituents",
|
|
298
|
-
],
|
|
299
|
-
unicorn: [
|
|
300
|
-
"unicorn/better-regex",
|
|
301
|
-
"unicorn/catch-error-name",
|
|
302
|
-
"unicorn/consistent-assert",
|
|
303
|
-
"unicorn/consistent-date-clone",
|
|
304
|
-
"unicorn/consistent-empty-array-spread",
|
|
305
|
-
"unicorn/consistent-existence-index-check",
|
|
306
|
-
"unicorn/custom-error-definition",
|
|
307
|
-
"unicorn/empty-brace-spaces",
|
|
308
|
-
"unicorn/escape-case",
|
|
309
|
-
"unicorn/explicit-length-check",
|
|
310
|
-
"unicorn/new-for-builtins",
|
|
311
|
-
"unicorn/no-array-for-each",
|
|
312
|
-
"unicorn/no-array-method-this-argument",
|
|
313
|
-
"unicorn/no-await-expression-member",
|
|
314
|
-
"unicorn/no-console-spaces",
|
|
315
|
-
"unicorn/no-for-loop",
|
|
316
|
-
"unicorn/no-hex-escape",
|
|
317
|
-
"unicorn/no-instanceof-builtins",
|
|
318
|
-
"unicorn/no-lonely-if",
|
|
319
|
-
"unicorn/no-named-default",
|
|
320
|
-
"unicorn/no-negated-condition",
|
|
321
|
-
"unicorn/no-nested-ternary",
|
|
322
|
-
"unicorn/no-new-array",
|
|
323
|
-
"unicorn/no-new-buffer",
|
|
324
|
-
"unicorn/no-null",
|
|
325
|
-
"unicorn/no-single-promise-in-promise-methods",
|
|
326
|
-
"unicorn/no-static-only-class",
|
|
327
|
-
"unicorn/no-typeof-undefined",
|
|
328
|
-
"unicorn/no-unnecessary-array-flat-depth",
|
|
329
|
-
"unicorn/no-unnecessary-array-splice-count",
|
|
330
|
-
"unicorn/no-unnecessary-await",
|
|
331
|
-
"unicorn/no-unnecessary-slice-end",
|
|
332
|
-
"unicorn/no-unreadable-array-destructuring",
|
|
333
|
-
"unicorn/no-useless-error-capture-stack-trace",
|
|
334
|
-
"unicorn/no-useless-fallback-in-spread",
|
|
335
|
-
"unicorn/no-useless-length-check",
|
|
336
|
-
"unicorn/no-useless-promise-resolve-reject",
|
|
337
|
-
"unicorn/no-useless-spread",
|
|
338
|
-
"unicorn/no-useless-undefined",
|
|
339
|
-
"unicorn/no-zero-fractions",
|
|
340
|
-
"unicorn/number-literal-case",
|
|
341
|
-
"unicorn/numeric-separators-style",
|
|
342
|
-
"unicorn/prefer-add-event-listener",
|
|
343
|
-
"unicorn/prefer-array-find",
|
|
344
|
-
"unicorn/prefer-array-flat",
|
|
345
|
-
"unicorn/prefer-array-flat-map",
|
|
346
|
-
"unicorn/prefer-array-index-of",
|
|
347
|
-
"unicorn/prefer-array-some",
|
|
348
|
-
"unicorn/prefer-at",
|
|
349
|
-
"unicorn/prefer-class-fields",
|
|
350
|
-
"unicorn/prefer-date-now",
|
|
351
|
-
"unicorn/prefer-dom-node-append",
|
|
352
|
-
"unicorn/prefer-dom-node-dataset",
|
|
353
|
-
"unicorn/prefer-dom-node-remove",
|
|
354
|
-
"unicorn/prefer-export-from",
|
|
355
|
-
"unicorn/prefer-global-this",
|
|
356
|
-
"unicorn/prefer-import-meta-properties",
|
|
357
|
-
"unicorn/prefer-includes",
|
|
358
|
-
"unicorn/prefer-json-parse-buffer",
|
|
359
|
-
"unicorn/prefer-keyboard-event-key",
|
|
360
|
-
"unicorn/prefer-math-min-max",
|
|
361
|
-
"unicorn/prefer-math-trunc",
|
|
362
|
-
"unicorn/prefer-modern-dom-apis",
|
|
363
|
-
"unicorn/prefer-modern-math-apis",
|
|
364
|
-
"unicorn/prefer-module",
|
|
365
|
-
"unicorn/prefer-native-coercion-functions",
|
|
366
|
-
"unicorn/prefer-negative-index",
|
|
367
|
-
"unicorn/prefer-node-protocol",
|
|
368
|
-
"unicorn/prefer-number-properties",
|
|
369
|
-
"unicorn/prefer-object-from-entries",
|
|
370
|
-
"unicorn/prefer-optional-catch-binding",
|
|
371
|
-
"unicorn/prefer-prototype-methods",
|
|
372
|
-
"unicorn/prefer-query-selector",
|
|
373
|
-
"unicorn/prefer-reflect-apply",
|
|
374
|
-
"unicorn/prefer-regexp-test",
|
|
375
|
-
"unicorn/prefer-set-has",
|
|
376
|
-
"unicorn/prefer-set-size",
|
|
377
|
-
"unicorn/prefer-single-call",
|
|
378
|
-
"unicorn/prefer-spread",
|
|
379
|
-
"unicorn/prefer-string-raw",
|
|
380
|
-
"unicorn/prefer-string-replace-all",
|
|
381
|
-
"unicorn/prefer-string-slice",
|
|
382
|
-
"unicorn/prefer-string-starts-ends-with",
|
|
383
|
-
"unicorn/prefer-string-trim-start-end",
|
|
384
|
-
"unicorn/prefer-switch",
|
|
385
|
-
"unicorn/prefer-ternary",
|
|
386
|
-
"unicorn/prefer-type-error",
|
|
387
|
-
"unicorn/prevent-abbreviations",
|
|
388
|
-
"unicorn/relative-url-style",
|
|
389
|
-
"unicorn/require-array-join-separator",
|
|
390
|
-
"unicorn/require-module-specifiers",
|
|
391
|
-
"unicorn/require-number-to-fixed-digits-argument",
|
|
392
|
-
"unicorn/string-content",
|
|
393
|
-
"unicorn/switch-case-braces",
|
|
394
|
-
"unicorn/template-indent",
|
|
395
|
-
"unicorn/text-encoding-identifier-case",
|
|
396
|
-
"unicorn/throw-new-error",
|
|
397
|
-
],
|
|
398
|
-
unusedImports: [
|
|
399
|
-
"unused-imports/no-unused-imports",
|
|
400
|
-
"unused-imports/no-unused-vars",
|
|
401
|
-
],
|
|
402
|
-
vitest: [
|
|
403
|
-
"vitest/consistent-test-it",
|
|
404
|
-
"vitest/consistent-vitest-vi",
|
|
405
|
-
"vitest/no-alias-methods",
|
|
406
|
-
"vitest/no-focused-tests",
|
|
407
|
-
"vitest/no-identical-title",
|
|
408
|
-
"vitest/no-import-node-test",
|
|
409
|
-
"vitest/no-importing-vitest-globals",
|
|
410
|
-
"vitest/no-interpolation-in-snapshots",
|
|
411
|
-
"vitest/no-test-prefixes",
|
|
412
|
-
"vitest/padding-around-after-all-blocks",
|
|
413
|
-
"vitest/padding-around-after-each-blocks",
|
|
414
|
-
"vitest/padding-around-all",
|
|
415
|
-
"vitest/padding-around-before-all-blocks",
|
|
416
|
-
"vitest/padding-around-before-each-blocks",
|
|
417
|
-
"vitest/padding-around-describe-blocks",
|
|
418
|
-
"vitest/padding-around-expect-groups",
|
|
419
|
-
"vitest/padding-around-test-blocks",
|
|
420
|
-
"vitest/prefer-called-once",
|
|
421
|
-
"vitest/prefer-called-times",
|
|
422
|
-
"vitest/prefer-called-with",
|
|
423
|
-
"vitest/prefer-comparison-matcher",
|
|
424
|
-
"vitest/prefer-describe-function-title",
|
|
425
|
-
"vitest/prefer-expect-resolves",
|
|
426
|
-
"vitest/prefer-importing-vitest-globals",
|
|
427
|
-
"vitest/prefer-lowercase-title",
|
|
428
|
-
"vitest/prefer-mock-promise-shorthand",
|
|
429
|
-
"vitest/prefer-spy-on",
|
|
430
|
-
"vitest/prefer-strict-boolean-matchers",
|
|
431
|
-
"vitest/prefer-to-be",
|
|
432
|
-
"vitest/prefer-to-be-falsy",
|
|
433
|
-
"vitest/prefer-to-be-object",
|
|
434
|
-
"vitest/prefer-to-be-truthy",
|
|
435
|
-
"vitest/prefer-to-contain",
|
|
436
|
-
"vitest/prefer-to-have-length",
|
|
437
|
-
"vitest/prefer-todo",
|
|
438
|
-
"vitest/prefer-vi-mocked",
|
|
439
|
-
"vitest/require-mock-type-parameters",
|
|
440
|
-
"vitest/valid-expect",
|
|
441
|
-
"vitest/valid-title",
|
|
442
|
-
],
|
|
443
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const VERSION = "0.4.8";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const VERSION = "0.4.8";
|
package/dist/esm/globs.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
2
|
-
export declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
3
|
-
export declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
4
|
-
export declare const GLOB_JS = "**/*.?([cm])js";
|
|
5
|
-
export declare const GLOB_JSX = "**/*.?([cm])jsx";
|
|
6
|
-
export declare const GLOB_TS = "**/*.?([cm])ts";
|
|
7
|
-
export declare const GLOB_TSX = "**/*.?([cm])tsx";
|
|
8
|
-
export declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
9
|
-
export declare const GLOB_CSS = "**/*.css";
|
|
10
|
-
export declare const GLOB_LESS = "**/*.less";
|
|
11
|
-
export declare const GLOB_SCSS = "**/*.scss";
|
|
12
|
-
export declare const GLOB_JSON = "**/*.json";
|
|
13
|
-
export declare const GLOB_JSON5 = "**/*.json5";
|
|
14
|
-
export declare const GLOB_JSONC = "**/*.jsonc";
|
|
15
|
-
export declare const GLOB_TOML = "**/*.toml";
|
|
16
|
-
export declare const GLOB_MARKDOWN = "**/*.md";
|
|
17
|
-
export declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
18
|
-
export declare const GLOB_GRAPHQL: string[];
|
|
19
|
-
export declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
20
|
-
export declare const GLOB_HTML = "**/*.htm?(l)";
|
|
21
|
-
export declare const GLOB_TSCONFIG: string[];
|
|
22
|
-
export declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
23
|
-
export declare const GLOB_TESTS: string[];
|
|
24
|
-
export declare const GLOB_ALL_SRC: string[];
|
|
25
|
-
export declare const GLOB_EXCLUDE: string[];
|
package/dist/esm/globs.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
2
|
-
export const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
3
|
-
export const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
4
|
-
export const GLOB_JS = "**/*.?([cm])js";
|
|
5
|
-
export const GLOB_JSX = "**/*.?([cm])jsx";
|
|
6
|
-
export const GLOB_TS = "**/*.?([cm])ts";
|
|
7
|
-
export const GLOB_TSX = "**/*.?([cm])tsx";
|
|
8
|
-
export const GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
9
|
-
export const GLOB_CSS = "**/*.css";
|
|
10
|
-
export const GLOB_LESS = "**/*.less";
|
|
11
|
-
export const GLOB_SCSS = "**/*.scss";
|
|
12
|
-
export const GLOB_JSON = "**/*.json";
|
|
13
|
-
export const GLOB_JSON5 = "**/*.json5";
|
|
14
|
-
export const GLOB_JSONC = "**/*.jsonc";
|
|
15
|
-
export const GLOB_TOML = "**/*.toml";
|
|
16
|
-
export const GLOB_MARKDOWN = "**/*.md";
|
|
17
|
-
export const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
18
|
-
export const GLOB_GRAPHQL = ["**/*.graphql", "**/*.gql"];
|
|
19
|
-
export const GLOB_YAML = "**/*.y?(a)ml";
|
|
20
|
-
export const GLOB_HTML = "**/*.htm?(l)";
|
|
21
|
-
export const GLOB_TSCONFIG = ["**/tsconfig.json", "**/tsconfig.*.json"];
|
|
22
|
-
export const GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;
|
|
23
|
-
export const GLOB_TESTS = [
|
|
24
|
-
`**/__tests__/**/*.${GLOB_SRC_EXT}`,
|
|
25
|
-
`**/*.spec.${GLOB_SRC_EXT}`,
|
|
26
|
-
`**/*.test.${GLOB_SRC_EXT}`,
|
|
27
|
-
`**/*.bench.${GLOB_SRC_EXT}`,
|
|
28
|
-
`**/*.benchmark.${GLOB_SRC_EXT}`,
|
|
29
|
-
];
|
|
30
|
-
export const GLOB_ALL_SRC = [
|
|
31
|
-
GLOB_SRC,
|
|
32
|
-
GLOB_STYLE,
|
|
33
|
-
GLOB_JSON,
|
|
34
|
-
GLOB_JSON5,
|
|
35
|
-
GLOB_MARKDOWN,
|
|
36
|
-
GLOB_YAML,
|
|
37
|
-
GLOB_HTML,
|
|
38
|
-
];
|
|
39
|
-
export const GLOB_EXCLUDE = [
|
|
40
|
-
"**/__snapshots__",
|
|
41
|
-
"**/.cache",
|
|
42
|
-
"**/.changeset",
|
|
43
|
-
"**/.history",
|
|
44
|
-
"**/.idea",
|
|
45
|
-
"**/.next",
|
|
46
|
-
"**/.nuxt",
|
|
47
|
-
"**/.output",
|
|
48
|
-
"**/.temp",
|
|
49
|
-
"**/.tmp",
|
|
50
|
-
"**/.vercel",
|
|
51
|
-
"**/.vite-inspect",
|
|
52
|
-
"**/.vitepress/cache",
|
|
53
|
-
"**/*.bak",
|
|
54
|
-
"**/*.min.*",
|
|
55
|
-
"**/.yarn",
|
|
56
|
-
"**/.pnp.*",
|
|
57
|
-
"**/auto-import?(s).d.ts",
|
|
58
|
-
"**/bun.lockb",
|
|
59
|
-
"**/CHANGELOG*.md",
|
|
60
|
-
"**/components.d.ts",
|
|
61
|
-
"**/coverage",
|
|
62
|
-
"**/dist",
|
|
63
|
-
"**/LICENSE*",
|
|
64
|
-
"**/node_modules",
|
|
65
|
-
"**/out",
|
|
66
|
-
"**/output",
|
|
67
|
-
"**/package-lock.json",
|
|
68
|
-
"**/pnpm-lock.yaml",
|
|
69
|
-
"**/scratch",
|
|
70
|
-
"**/temp",
|
|
71
|
-
"**/tmp",
|
|
72
|
-
"**/yarn.lock",
|
|
73
|
-
];
|
package/dist/esm/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { SLOW_RULES } from "./const.js";
|
|
2
|
-
export { defineConfig, jsse } from "./define-config.js";
|
|
3
|
-
export { jsse as default } from "./define-config.js";
|
|
4
|
-
export { VERSION } from "./generated/version.js";
|
|
5
|
-
export * as globs from "./globs.js";
|
|
6
|
-
export * from "./plugins.js";
|
|
7
|
-
export { jsseReact } from "./presets.js";
|
|
8
|
-
export type * from "./types.js";
|
|
9
|
-
export * from "./utils.js";
|
package/dist/esm/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { SLOW_RULES } from "./const.js";
|
|
2
|
-
export { defineConfig, jsse } from "./define-config.js";
|
|
3
|
-
export { jsse as default } from "./define-config.js";
|
|
4
|
-
export { VERSION } from "./generated/version.js";
|
|
5
|
-
export * as globs from "./globs.js";
|
|
6
|
-
export * from "./plugins.js";
|
|
7
|
-
export { jsseReact } from "./presets.js";
|
|
8
|
-
export * from "./utils.js";
|
package/dist/esm/lager.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import Debug from "debug";
|
|
2
|
-
export declare const dbg: Debug.Debugger;
|
|
3
|
-
declare const LAGER_LEVELS: {
|
|
4
|
-
readonly trace: 10;
|
|
5
|
-
readonly debug: 20;
|
|
6
|
-
readonly info: 30;
|
|
7
|
-
readonly warn: 40;
|
|
8
|
-
readonly error: 50;
|
|
9
|
-
readonly fatal: 60;
|
|
10
|
-
};
|
|
11
|
-
export type LagerLevel = keyof typeof LAGER_LEVELS;
|
|
12
|
-
export type LagerLevelNo = (typeof LAGER_LEVELS)[LagerLevel];
|
|
13
|
-
export declare class Lager {
|
|
14
|
-
_level: LagerLevel;
|
|
15
|
-
id: string;
|
|
16
|
-
levelNo: number;
|
|
17
|
-
prefix: string;
|
|
18
|
-
constructor(options?: {
|
|
19
|
-
level?: LagerLevel;
|
|
20
|
-
id?: string;
|
|
21
|
-
prefix?: string;
|
|
22
|
-
});
|
|
23
|
-
get level(): LagerLevel;
|
|
24
|
-
set level(level: LagerLevel);
|
|
25
|
-
log(...args: any[]): void;
|
|
26
|
-
trace(...args: any[]): void;
|
|
27
|
-
debug(...args: any[]): void;
|
|
28
|
-
info(...args: any[]): void;
|
|
29
|
-
warn(...args: any[]): void;
|
|
30
|
-
error(...args: any[]): void;
|
|
31
|
-
}
|
|
32
|
-
export {};
|