@shayanthenerd/eslint-config 0.32.0 → 0.34.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.
- package/README.md +65 -40
- package/dist/configs/astro.mjs +5 -1
- package/dist/configs/css.mjs +3 -3
- package/dist/configs/packageJson.mjs +1 -1
- package/dist/configs/react.mjs +2 -2
- package/dist/configs/tailwind.mjs +7 -1
- package/dist/configs/typescript.mjs +4 -6
- package/dist/helpers/ignores/defaultIgnorePatterns.mjs +1 -6
- package/dist/helpers/options/defaultOptions.mjs +13 -3
- package/dist/helpers/options/enableDetectedConfigs.mjs +20 -8
- package/dist/index.d.mts +1 -0
- package/dist/rules/astro.mjs +61 -54
- package/dist/rules/baseline.mjs +1 -1
- package/dist/rules/css.mjs +30 -10
- package/dist/rules/html.mjs +11 -3
- package/dist/rules/importX.mjs +2 -2
- package/dist/rules/javascript.mjs +6 -5
- package/dist/rules/markdown.mjs +7 -1
- package/dist/rules/next.mjs +2 -0
- package/dist/rules/node.mjs +1 -1
- package/dist/rules/packageJson.mjs +166 -153
- package/dist/rules/perfectionist.mjs +41 -11
- package/dist/rules/playwright.mjs +10 -0
- package/dist/rules/react.mjs +56 -54
- package/dist/rules/stylistic.mjs +1 -1
- package/dist/rules/tanstack.mjs +1 -1
- package/dist/rules/typescript.mjs +3 -2
- package/dist/rules/unicorn.mjs +38 -7
- package/dist/rules/vue.mjs +38 -41
- package/dist/rules/zod.mjs +2 -0
- package/dist/types/eslint-schema.d.mts +1086 -669
- package/dist/types/index.d.mts +44 -9
- package/dist/types/options/baseline.d.mts +24 -3
- package/dist/types/options/react.d.mts +9 -9
- package/dist/types/options/typescript.d.mts +3 -3
- package/dist/types/options/vue.d.mts +1 -1
- package/package.json +39 -37
package/dist/types/index.d.mts
CHANGED
|
@@ -243,13 +243,20 @@ interface Options {
|
|
|
243
243
|
*/
|
|
244
244
|
configs?: {
|
|
245
245
|
/**
|
|
246
|
-
* Use [eslint-plugin-astro](https://ota-meshi.github.io/eslint-plugin-astro) and [eslint-plugin-jsx-a11y](https://github.com/
|
|
246
|
+
* Use [eslint-plugin-astro](https://ota-meshi.github.io/eslint-plugin-astro) and [eslint-plugin-jsx-a11y-x](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x) to enforce Astro best practices and accessibility guidelines.
|
|
247
247
|
*
|
|
248
248
|
* @default false // `true` if "astro" is detected in the dependencies when `autoDetectDeps` is enabled
|
|
249
249
|
*/
|
|
250
|
-
astro?: boolean | ConfigWithOverrides<PluginRules<'astro'
|
|
250
|
+
astro?: boolean | ConfigWithOverrides<PluginRules<'astro'>> & {
|
|
251
|
+
/**
|
|
252
|
+
* Use [eslint-plugin-jsx-a11y-x](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x) to enforce accessibility standards in Astro components.
|
|
253
|
+
*
|
|
254
|
+
* @default false // `true` if both "astro" and "eslint-plugin-jsx-a11y-x" are detected in the dependencies when `autoDetectDeps` is enabled
|
|
255
|
+
*/
|
|
256
|
+
accessibility?: boolean;
|
|
257
|
+
};
|
|
251
258
|
/**
|
|
252
|
-
* Use [eslint-plugin-baseline-js](https://github.com/3ru/eslint-plugin-baseline-js), [css/use-baseline](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#options), [@html-eslint/use-baseline](https://html-eslint.org/docs/rules/use-baseline#options), and [@html-eslint/react/use-baseline](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#options) to enforce the use of baseline features.
|
|
259
|
+
* Use [eslint-plugin-baseline-js](https://github.com/3ru/eslint-plugin-baseline-js), [css/use-baseline](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#options), [@html-eslint/use-baseline](https://html-eslint.org/docs/rules/use-baseline#options), and [@html-eslint/react/use-baseline](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#options) to enforce the use of browser baseline features.
|
|
253
260
|
*
|
|
254
261
|
* @default true // `false` if `env` is set to a value other than `'browser'`
|
|
255
262
|
*/
|
|
@@ -278,13 +285,24 @@ interface Options {
|
|
|
278
285
|
maxNestedCallbacks?: Exclude<RuleOptions<'max-nested-callbacks'>, Record<string, unknown>>;
|
|
279
286
|
};
|
|
280
287
|
/**
|
|
281
|
-
* Use [@eslint/css](https://github.com/eslint/css) to enforce CSS best practices and identify mistakes.
|
|
288
|
+
* Use [@eslint/css](https://github.com/eslint/css) and [eslint-cssicorn](https://github.com/sindresorhus/eslint-cssicorn) to enforce CSS best practices and identify mistakes.
|
|
282
289
|
*
|
|
283
290
|
* @default false
|
|
284
291
|
*/
|
|
285
|
-
css?: boolean | ConfigWithOverrides<PluginRules<'css'
|
|
292
|
+
css?: boolean | ConfigWithOverrides<PluginRules<'css'>> & {
|
|
293
|
+
/**
|
|
294
|
+
* Allowed, unknown (non-standard) pseudo-selectors.
|
|
295
|
+
*
|
|
296
|
+
* New items extend the defaults instead of overriding them.
|
|
297
|
+
*
|
|
298
|
+
* @default []
|
|
299
|
+
*
|
|
300
|
+
* @see [cssicorn/no-unknown-pseudo-selectors: `allow` option](https://github.com/sindresorhus/eslint-cssicorn/blob/main/docs/rules/no-unknown-pseudo-selectors.md#allow)
|
|
301
|
+
*/
|
|
302
|
+
allowedUnknownPseudoSelectors?: RuleOptions<'cssicorn/no-unknown-pseudo-selectors'>['allow'];
|
|
303
|
+
};
|
|
286
304
|
/**
|
|
287
|
-
* Use [@html-eslint/eslint-plugin](https://html-eslint.org) to enforce SEO and accessibility best practices, as well as some stylistic rules.
|
|
305
|
+
* Use [@html-eslint/eslint-plugin](https://html-eslint.org) and [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)'s HTML rules to enforce SEO and accessibility best practices, as well as some stylistic rules.
|
|
288
306
|
*
|
|
289
307
|
* @default false
|
|
290
308
|
*/
|
|
@@ -305,7 +323,7 @@ interface Options {
|
|
|
305
323
|
*/
|
|
306
324
|
importX?: boolean | ConfigWithOverrides<PluginRules<'import-x'>>;
|
|
307
325
|
/**
|
|
308
|
-
* Use [@eslint/markdown](https://github.com/eslint/markdown) to enforce best practices for Markdown files.
|
|
326
|
+
* Use [@eslint/markdown](https://github.com/eslint/markdown) and [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)'s Markdown rules to enforce best practices for Markdown files.
|
|
309
327
|
*
|
|
310
328
|
* @default true
|
|
311
329
|
*/
|
|
@@ -337,7 +355,24 @@ interface Options {
|
|
|
337
355
|
*
|
|
338
356
|
* @default true
|
|
339
357
|
*/
|
|
340
|
-
packageJson?: boolean | ConfigWithOverrides<PluginRules<'package-json'
|
|
358
|
+
packageJson?: boolean | ConfigWithOverrides<PluginRules<'package-json'>> & {
|
|
359
|
+
/**
|
|
360
|
+
* Allowed [NPM distribution tags](https://docs.npmjs.com/adding-dist-tags-to-packages).
|
|
361
|
+
*
|
|
362
|
+
* @default []
|
|
363
|
+
*
|
|
364
|
+
* @see [package-json/restrict-dist-tags: `allowed` option](https://eslint-plugin-package-json.dev/rules/restrict-dist-tags/#allowed)
|
|
365
|
+
*/
|
|
366
|
+
allowedDistTags?: RuleOptions<'package-json/restrict-dist-tags'>['allowed'];
|
|
367
|
+
/**
|
|
368
|
+
* Dependencies for which the [NPM distribution tags](https://docs.npmjs.com/adding-dist-tags-to-packages) are allowed.
|
|
369
|
+
*
|
|
370
|
+
* @default []
|
|
371
|
+
*
|
|
372
|
+
* @see [package-json/restrict-dist-tags: `allowedFor` option](https://eslint-plugin-package-json.dev/rules/restrict-dist-tags/#allowedfor)
|
|
373
|
+
*/
|
|
374
|
+
allowedDistTagsFor?: RuleOptions<'package-json/restrict-dist-tags'>['allowedFor'];
|
|
375
|
+
};
|
|
341
376
|
/**
|
|
342
377
|
* Use [eslint-plugin-perfectionist](https://perfectionist.dev) to sort imports, exports, maps, union types, etc.
|
|
343
378
|
*
|
|
@@ -362,7 +397,7 @@ interface Options {
|
|
|
362
397
|
*/
|
|
363
398
|
promise?: boolean | ConfigWithOverrides<PluginRules<'promise'>>;
|
|
364
399
|
/**
|
|
365
|
-
* Use [@eslint-react/eslint-plugin](https://eslint-react.xyz), [eslint-plugin-jsx-a11y](https://github.com/
|
|
400
|
+
* Use [@eslint-react/eslint-plugin](https://eslint-react.xyz), [eslint-plugin-jsx-a11y-x](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x), and [@html-eslint/eslint-plugin-react](https://html-eslint.org/docs/react/getting-started) to enforce React best practices and accessibility guidelines.
|
|
366
401
|
*
|
|
367
402
|
* @default false // `true` if "react" is detected in the dependencies when `autoDetectDeps` is enabled
|
|
368
403
|
*/
|
|
@@ -23,6 +23,8 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
23
23
|
/**
|
|
24
24
|
* At-rules that are allowed to be used regardless of the baseline.
|
|
25
25
|
*
|
|
26
|
+
* New items extend the defaults instead of overriding them.
|
|
27
|
+
*
|
|
26
28
|
* @default []
|
|
27
29
|
*
|
|
28
30
|
* @see [css/use-baseline: `allowedAtRules` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowatrules)
|
|
@@ -31,6 +33,8 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
31
33
|
/**
|
|
32
34
|
* Functions that are allowed to be used regardless of the baseline.
|
|
33
35
|
*
|
|
36
|
+
* New items extend the defaults instead of overriding them.
|
|
37
|
+
*
|
|
34
38
|
* @default []
|
|
35
39
|
*
|
|
36
40
|
* @see [css/use-baseline: `allowedFunctions` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowfunctions)
|
|
@@ -39,6 +43,8 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
39
43
|
/**
|
|
40
44
|
* Media conditions inside `@media` that are allowed to be used regardless of the baseline.
|
|
41
45
|
*
|
|
46
|
+
* New items extend the defaults instead of overriding them.
|
|
47
|
+
*
|
|
42
48
|
* @default []
|
|
43
49
|
*
|
|
44
50
|
* @see [css/use-baseline: `allowedMediaConditions` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowmediaconditions)
|
|
@@ -47,6 +53,8 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
47
53
|
/**
|
|
48
54
|
* Properties that are allowed to be used regardless of the baseline.
|
|
49
55
|
*
|
|
56
|
+
* New items extend the defaults instead of overriding them.
|
|
57
|
+
*
|
|
50
58
|
* @default []
|
|
51
59
|
*
|
|
52
60
|
* @see [css/use-baseline: `allowedProperties` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowproperties)
|
|
@@ -55,7 +63,12 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
55
63
|
/**
|
|
56
64
|
* Properties that are allowed to be used regardless of the baseline, mapped to their allowed identifier values.
|
|
57
65
|
*
|
|
58
|
-
*
|
|
66
|
+
* New items extend the defaults instead of overriding them.
|
|
67
|
+
*
|
|
68
|
+
* @default
|
|
69
|
+
* {
|
|
70
|
+
* "background-clip": ['text'],
|
|
71
|
+
* }
|
|
59
72
|
*
|
|
60
73
|
* @see [css/use-baseline: `allowedPropertyValues` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowpropertyvalues)
|
|
61
74
|
*/
|
|
@@ -63,7 +76,9 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
63
76
|
/**
|
|
64
77
|
* Selectors that are allowed to be used regardless of the baseline.
|
|
65
78
|
*
|
|
66
|
-
*
|
|
79
|
+
* New items extend the defaults instead of overriding them.
|
|
80
|
+
*
|
|
81
|
+
* @default ['selection']
|
|
67
82
|
*
|
|
68
83
|
* @see [css/use-baseline: `allowedSelectors` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowselectors)
|
|
69
84
|
*/
|
|
@@ -71,6 +86,8 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
71
86
|
/**
|
|
72
87
|
* Units that are allowed to be used regardless of the baseline.
|
|
73
88
|
*
|
|
89
|
+
* New items extend the defaults instead of overriding them.
|
|
90
|
+
*
|
|
74
91
|
* @default []
|
|
75
92
|
*
|
|
76
93
|
* @see [css/use-baseline: `allowedUnits` option](https://github.com/eslint/css/blob/main/docs/rules/use-baseline.md#allowunits)
|
|
@@ -86,7 +103,9 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
86
103
|
/**
|
|
87
104
|
* Feature IDs or regex patterns for features that are allowed to be used regardless of the baseline.
|
|
88
105
|
*
|
|
89
|
-
*
|
|
106
|
+
* New items extend the defaults instead of overriding them.
|
|
107
|
+
*
|
|
108
|
+
* @default ['async-clipboard']
|
|
90
109
|
*
|
|
91
110
|
* @see [baseline-js/use-baseline: `ignoreFeatures` option](https://github.com/3ru/eslint-plugin-baseline-js#options-rule)
|
|
92
111
|
*/
|
|
@@ -94,6 +113,8 @@ interface BaselineOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
94
113
|
/**
|
|
95
114
|
* ESTree `node.type`s or regex patterns for node types that are allowed to be used regardless of the baseline.
|
|
96
115
|
*
|
|
116
|
+
* New items extend the defaults instead of overriding them.
|
|
117
|
+
*
|
|
97
118
|
* @default []
|
|
98
119
|
*
|
|
99
120
|
* @see [baseline-js/use-baseline: `ignoreNodeTypes` option](https://github.com/3ru/eslint-plugin-baseline-js#options-rule)
|
|
@@ -4,7 +4,7 @@ import { ConfigWithOverrides } from "../index.mjs";
|
|
|
4
4
|
type ConfigRules = PluginRules<'@eslint-react'>;
|
|
5
5
|
interface ReactOptions extends ConfigWithOverrides<ConfigRules> {
|
|
6
6
|
/**
|
|
7
|
-
* Use [eslint-plugin-jsx-a11y](https://github.com/
|
|
7
|
+
* Use [eslint-plugin-jsx-a11y-x](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x) and [@html-eslint/eslint-plugin-react](https://html-eslint.org/docs/react/getting-started) to enforce accessibility standards in React components.
|
|
8
8
|
*
|
|
9
9
|
* @default true
|
|
10
10
|
*/
|
|
@@ -15,12 +15,12 @@ interface ReactOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
15
15
|
* New items extend the defaults instead of overriding them.
|
|
16
16
|
*
|
|
17
17
|
* This is used by
|
|
18
|
-
* - [jsx-a11y/anchor-has-content: `components` option](https://github.com/
|
|
19
|
-
* - [jsx-a11y/anchor-is-valid: `components` option](https://github.com/
|
|
18
|
+
* - [jsx-a11y-x/anchor-has-content: `components` option](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/blob/main/docs/rules/anchor-has-content.md#rule-options)
|
|
19
|
+
* - [jsx-a11y-x/anchor-is-valid: `components` option](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/blob/main/docs/rules/anchor-is-valid.md#rule-options)
|
|
20
20
|
*
|
|
21
21
|
* @default ['Link', 'NextLink', 'NavLink']
|
|
22
22
|
*/
|
|
23
|
-
anchorComponents?: RuleOptions<'jsx-a11y/anchor-has-content'>['components'];
|
|
23
|
+
anchorComponents?: RuleOptions<'jsx-a11y-x/anchor-has-content'>['components'];
|
|
24
24
|
/**
|
|
25
25
|
* Names of components that render a heading (`<h1>`...`<h6>`) element.
|
|
26
26
|
*
|
|
@@ -28,21 +28,21 @@ interface ReactOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
28
28
|
*
|
|
29
29
|
* @default ['H1', 'H2', 'H3', 'H4', 'H5', 'H6']
|
|
30
30
|
*
|
|
31
|
-
* @see [jsx-a11y/heading-has-content: `components` option](https://github.com/
|
|
31
|
+
* @see [jsx-a11y-x/heading-has-content: `components` option](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/blob/main/docs/rules/heading-has-content.md#rule-options)
|
|
32
32
|
*/
|
|
33
|
-
headingComponents?: RuleOptions<'jsx-a11y/heading-has-content'>['components'];
|
|
33
|
+
headingComponents?: RuleOptions<'jsx-a11y-x/heading-has-content'>['components'];
|
|
34
34
|
/**
|
|
35
35
|
* Names of components that render an `<img>` element.
|
|
36
36
|
*
|
|
37
37
|
* New items extend the defaults instead of overriding them.
|
|
38
38
|
*
|
|
39
39
|
* This is used by
|
|
40
|
-
* - [jsx-a11y/alt-text: `img` option](https://github.com/
|
|
41
|
-
* - [jsx-a11y/img-redundant-alt: `components` option](https://github.com/
|
|
40
|
+
* - [jsx-a11y-x/alt-text: `img` option](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/blob/main/docs/rules/alt-text.md#rule-options)
|
|
41
|
+
* - [jsx-a11y-x/img-redundant-alt: `components` option](https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/blob/main/docs/rules/img-redundant-alt.md#rule-options)
|
|
42
42
|
*
|
|
43
43
|
* @default ['Img', 'LazyImg', 'Image', 'LazyImage', 'NextImage', 'LazyNextImage']
|
|
44
44
|
*/
|
|
45
|
-
imageComponents?: RuleOptions<'jsx-a11y/img-redundant-alt'>['components'];
|
|
45
|
+
imageComponents?: RuleOptions<'jsx-a11y-x/img-redundant-alt'>['components'];
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
@@ -6,11 +6,11 @@ interface TypescriptOptions extends ConfigWithOverrides<ConfigRules> {
|
|
|
6
6
|
/**
|
|
7
7
|
* Globs of files to allow running with the default project compiler options despite not being matched by the project service (_tsconfig.json_).
|
|
8
8
|
*
|
|
9
|
-
* The matched files
|
|
9
|
+
* The matched files cannot also be included in their nearest _tsconfig.json_ file.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* @default []
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
13
|
+
* @example ['{eslint,prettier}.config.?([mc])ts']
|
|
14
14
|
*
|
|
15
15
|
* @see [@typescript-eslint: `allowDefaultProject` option](https://typescript-eslint.io/packages/parser#allowdefaultproject)
|
|
16
16
|
*/
|
|
@@ -12,7 +12,7 @@ type VBindStyleSameNameShorthandOptions = RuleOptions<'vue/v-bind-style', 1>['sa
|
|
|
12
12
|
type ConfigRules = PluginRules<'vue'> & PluginRules<'vuejs-accessibility'>;
|
|
13
13
|
interface VueOptions extends ConfigWithOverrides<ConfigRules> {
|
|
14
14
|
/**
|
|
15
|
-
* Use [eslint-plugin-vuejs-accessibility](https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility) to enforce accessibility standards in SFCs.
|
|
15
|
+
* Use [eslint-plugin-vuejs-accessibility](https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility) to enforce accessibility standards in Vue SFCs.
|
|
16
16
|
*
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shayanthenerd/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -48,65 +48,61 @@
|
|
|
48
48
|
"package.json": "pnpm lint",
|
|
49
49
|
"pnpm-lock.yaml": [
|
|
50
50
|
"pnpm generate:types",
|
|
51
|
-
"pnpm generate:docs"
|
|
52
|
-
"git add src/types/eslint-schema.d.ts README.md"
|
|
53
|
-
],
|
|
54
|
-
"src/types/**/*.d.ts": [
|
|
55
|
-
"pnpm generate:docs",
|
|
56
|
-
"git add README.md"
|
|
51
|
+
"pnpm generate:docs"
|
|
57
52
|
],
|
|
53
|
+
"src/types/**/*.d.ts": "pnpm generate:docs",
|
|
58
54
|
"{.github/workflows/**/*.yaml,pnpm-workspace.yaml}": "pnpm format"
|
|
59
55
|
},
|
|
60
56
|
"dependencies": {
|
|
61
|
-
"@eslint-react/eslint-plugin": "5.
|
|
57
|
+
"@eslint-react/eslint-plugin": "5.23.5",
|
|
62
58
|
"@eslint/css": "2.0.0",
|
|
63
59
|
"@eslint/markdown": "8.0.3",
|
|
64
|
-
"@html-eslint/eslint-plugin": "0.
|
|
65
|
-
"@html-eslint/eslint-plugin-react": "0.
|
|
66
|
-
"@next/eslint-plugin-next": "16.3.
|
|
60
|
+
"@html-eslint/eslint-plugin": "0.66.1",
|
|
61
|
+
"@html-eslint/eslint-plugin-react": "0.66.1",
|
|
62
|
+
"@next/eslint-plugin-next": "16.3.8",
|
|
67
63
|
"@nuxt/eslint-plugin": "1.17.0",
|
|
68
64
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
69
|
-
"@tanstack/eslint-plugin-query": "5.
|
|
65
|
+
"@tanstack/eslint-plugin-query": "5.104.1",
|
|
70
66
|
"@tanstack/eslint-plugin-router": "1.162.0",
|
|
71
67
|
"@tanstack/eslint-plugin-start": "0.1.0",
|
|
72
68
|
"@vitest/eslint-plugin": "1.6.27",
|
|
73
|
-
"astro-eslint-parser": "3.
|
|
69
|
+
"astro-eslint-parser": "3.2.0",
|
|
74
70
|
"defu": "6.1.7",
|
|
71
|
+
"eslint-cssicorn": "0.1.0",
|
|
75
72
|
"eslint-flat-config-utils": "3.2.0",
|
|
76
73
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
77
|
-
"eslint-plugin-astro": "3.1
|
|
78
|
-
"eslint-plugin-baseline-js": "0.7.
|
|
74
|
+
"eslint-plugin-astro": "3.2.1",
|
|
75
|
+
"eslint-plugin-baseline-js": "0.7.3",
|
|
79
76
|
"eslint-plugin-better-tailwindcss": "4.7.0",
|
|
80
77
|
"eslint-plugin-cypress": "7.0.2",
|
|
81
78
|
"eslint-plugin-import-x": "4.17.1",
|
|
82
|
-
"eslint-plugin-jsx-a11y": "
|
|
83
|
-
"eslint-plugin-n": "18.
|
|
84
|
-
"eslint-plugin-package-json": "1.
|
|
85
|
-
"eslint-plugin-perfectionist": "5.
|
|
86
|
-
"eslint-plugin-playwright": "2.
|
|
79
|
+
"eslint-plugin-jsx-a11y-x": "0.2.0",
|
|
80
|
+
"eslint-plugin-n": "18.4.1",
|
|
81
|
+
"eslint-plugin-package-json": "1.10.1",
|
|
82
|
+
"eslint-plugin-perfectionist": "5.12.1",
|
|
83
|
+
"eslint-plugin-playwright": "2.12.0",
|
|
87
84
|
"eslint-plugin-promise": "7.3.0",
|
|
88
|
-
"eslint-plugin-storybook": "10.6.
|
|
89
|
-
"eslint-plugin-unicorn": "
|
|
90
|
-
"eslint-plugin-vue": "10.11.
|
|
85
|
+
"eslint-plugin-storybook": "10.6.1",
|
|
86
|
+
"eslint-plugin-unicorn": "77.0.0",
|
|
87
|
+
"eslint-plugin-vue": "10.11.1",
|
|
91
88
|
"eslint-plugin-vuejs-accessibility": "2.6.0",
|
|
92
|
-
"eslint-plugin-zod": "
|
|
93
|
-
"eslint-plugin-zod-mini": "
|
|
94
|
-
"globals": "17.
|
|
89
|
+
"eslint-plugin-zod": "5.0.0",
|
|
90
|
+
"eslint-plugin-zod-mini": "2.0.0",
|
|
91
|
+
"globals": "17.13.0",
|
|
95
92
|
"local-pkg": "1.2.1",
|
|
96
93
|
"nuxt-link-checker": "5.3.0",
|
|
97
|
-
"tailwind-csstree": "0.4.
|
|
98
|
-
"typescript-eslint": "8.
|
|
94
|
+
"tailwind-csstree": "0.4.1",
|
|
95
|
+
"typescript-eslint": "8.71.0"
|
|
99
96
|
},
|
|
100
97
|
"devDependencies": {
|
|
101
98
|
"@arethetypeswrong/cli": "0.18.5",
|
|
102
|
-
"@eslint/config-inspector": "3.
|
|
103
|
-
"@types/
|
|
104
|
-
"
|
|
105
|
-
"eslint": "10.10.0",
|
|
99
|
+
"@eslint/config-inspector": "3.5.0",
|
|
100
|
+
"@types/node": "26.6.4",
|
|
101
|
+
"eslint": "10.12.0",
|
|
106
102
|
"eslint-typegen": "2.3.1",
|
|
107
103
|
"nano-staged": "1.0.2",
|
|
108
|
-
"prettier": "3.9.
|
|
109
|
-
"publint": "0.3.
|
|
104
|
+
"prettier": "3.9.9",
|
|
105
|
+
"publint": "0.3.25",
|
|
110
106
|
"serve": "14.2.6",
|
|
111
107
|
"simple-git-hooks": "2.14.0",
|
|
112
108
|
"ts-morph": "28.0.0",
|
|
@@ -115,7 +111,13 @@
|
|
|
115
111
|
"unplugin-unused": "0.6.0"
|
|
116
112
|
},
|
|
117
113
|
"peerDependencies": {
|
|
118
|
-
"eslint": "^10.9.0"
|
|
114
|
+
"eslint": "^10.9.0",
|
|
115
|
+
"eslint-plugin-jsx-a11y-x": "^0.2.0"
|
|
116
|
+
},
|
|
117
|
+
"peerDependenciesMeta": {
|
|
118
|
+
"eslint-plugin-jsx-a11y-x": {
|
|
119
|
+
"optional": true
|
|
120
|
+
}
|
|
119
121
|
},
|
|
120
122
|
"engines": {
|
|
121
123
|
"node": "^20.19.0 || ^22.13.0 || ^24.0.0 || ^26.0.0"
|
|
@@ -123,7 +125,7 @@
|
|
|
123
125
|
"devEngines": {
|
|
124
126
|
"packageManager": {
|
|
125
127
|
"name": "pnpm",
|
|
126
|
-
"version": "12.
|
|
128
|
+
"version": "12.9.0",
|
|
127
129
|
"onFail": "warn"
|
|
128
130
|
},
|
|
129
131
|
"runtime": {
|
|
@@ -137,7 +139,7 @@
|
|
|
137
139
|
},
|
|
138
140
|
"scripts": {
|
|
139
141
|
"git:gitmessage": "git config --local commit.template '.gitmessage'",
|
|
140
|
-
"update:deps": "pnpm update --latest
|
|
142
|
+
"update:deps": "pnpm update --latest '!typescript' && pnpm generate:types && pnpm generate:docs",
|
|
141
143
|
"check:spell": "pnpx cspell . --gitignore --exclude='pnpm-lock.yaml' --cache --cache-location='./node_modules/.cache/.cspellcache'",
|
|
142
144
|
"inspect": "pnpm build:package && eslint-config-inspector",
|
|
143
145
|
"build:inspector": "eslint-config-inspector build --config=./scripts/configs/eslint.config.reference.ts --outDir=./netlify/eslint-config-inspector",
|