@infernodesign/eslint-config 2.18.0 → 2.20.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/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { cac } from "cac";
8
8
  import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
  // package.json
11
- var version = "2.18.0";
11
+ var version = "2.20.0";
12
12
  // src/cli/constants.ts
13
13
  const vscodeSettingsString = `
14
14
  // Disable the default formatter, use eslint instead
@@ -198,24 +198,24 @@ async function updateEslintFiles(result) {
198
198
  }
199
199
  // src/cli/constants-generated.ts
200
200
  const versionsMap = {
201
- "@eslint-react/eslint-plugin": "^5.28.8",
202
- "@medusajs/eslint-plugin": "^2.22.2",
203
- "@next/eslint-plugin-next": "^16.4.3",
204
- "@sanity-labs/eslint-plugin": "^1.0.7",
205
- "@shadcn/lint": "^0.2.3",
206
- "@unocss/eslint-plugin": "^66.12.0",
201
+ "@eslint-react/eslint-plugin": "^5.30.2",
202
+ "@medusajs/eslint-plugin": "^2.22.7",
203
+ "@next/eslint-plugin-next": "^16.4.6",
204
+ "@sanity-labs/eslint-plugin": "^1.0.8",
205
+ "@shadcn/lint": "^0.2.5",
206
+ "@unocss/eslint-plugin": "^66.13.0",
207
207
  "astro-eslint-parser": "^3.2.0",
208
- "eslint": "^10.14.0",
208
+ "eslint": "^10.15.0",
209
209
  "eslint-plugin-astro": "^3.2.1",
210
- "eslint-plugin-better-tailwindcss": "^4.10.0",
210
+ "eslint-plugin-better-tailwindcss": "^4.11.0",
211
211
  "eslint-plugin-format": "^2.0.1",
212
212
  "eslint-plugin-react-refresh": "^0.5.7",
213
- "eslint-plugin-solid": "^0.18.1",
214
- "eslint-plugin-storybook": "^10.6.5",
215
- "eslint-plugin-svelte": "^3.23.1",
213
+ "eslint-plugin-solid": "^0.19.0",
214
+ "eslint-plugin-storybook": "^10.6.7",
215
+ "eslint-plugin-svelte": "^3.24.1",
216
216
  "prettier-plugin-astro": "^1.1.2",
217
217
  "prettier-plugin-slidev": "^1.0.5",
218
- "svelte-eslint-parser": "^1.10.0"
218
+ "svelte-eslint-parser": "^1.10.1"
219
219
  };
220
220
  // src/cli/stages/update-package-json.ts
221
221
  async function updatePackageJson(result) {
package/dist/index.d.ts CHANGED
@@ -4161,6 +4161,11 @@ interface RuleOptions {
4161
4161
  * @see https://eslint-react.xyz/docs/rules/static-components
4162
4162
  */
4163
4163
  'react/static-components'?: Linter.RuleEntry<[]>;
4164
+ /**
4165
+ * Verifies the list of dependencies for Hooks like 'useEffect' and similar, with support for custom Hooks and stable Hook results.
4166
+ * @see https://eslint-react.xyz/docs/rules/unstable-exhaustive-deps
4167
+ */
4168
+ 'react/unstable-exhaustive-deps'?: Linter.RuleEntry<ReactUnstableExhaustiveDeps>;
4164
4169
  /**
4165
4170
  * Validates against syntax that React Compiler does not support.
4166
4171
  * @see https://eslint-react.xyz/docs/rules/unsupported-syntax
@@ -5071,6 +5076,11 @@ interface RuleOptions {
5071
5076
  * @see https://github.com/shadcn-ui/lint/blob/main/docs/rules/require-static-classes.md
5072
5077
  */
5073
5078
  'shadcn/require-static-classes'?: Linter.RuleEntry<ShadcnRequireStaticClasses>;
5079
+ /**
5080
+ * Require a bare yield after await in Solid action generators.
5081
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/action-yield-after-await.md
5082
+ */
5083
+ 'solid/action-yield-after-await'?: Linter.RuleEntry<[]>;
5074
5084
  /**
5075
5085
  * Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
5076
5086
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/components-return-once.md
@@ -5176,6 +5186,11 @@ interface RuleOptions {
5176
5186
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-store-mutation-outside-setter.md
5177
5187
  */
5178
5188
  'solid/no-store-mutation-outside-setter'?: Linter.RuleEntry<[]>;
5189
+ /**
5190
+ * Disallow `let` and `var` variables that are read but never assigned, counting `ref={el}` as an assignment. Replaces ESLint's `no-unassigned-vars`.
5191
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unassigned-vars.md
5192
+ */
5193
+ 'solid/no-unassigned-vars'?: Linter.RuleEntry<[]>;
5179
5194
  /**
5180
5195
  * Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
5181
5196
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unknown-namespaces.md
@@ -5247,6 +5262,11 @@ interface RuleOptions {
5247
5262
  * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/valid-use-server.md
5248
5263
  */
5249
5264
  'solid/valid-use-server'?: Linter.RuleEntry<SolidValidUseServer>;
5265
+ /**
5266
+ * Disallow HTML nesting the browser refuses to keep, like `<p><div /></p>`, which silently renders a different DOM than the JSX describes.
5267
+ * @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/validate-jsx-nesting.md
5268
+ */
5269
+ 'solid/validate-jsx-nesting'?: Linter.RuleEntry<[]>;
5250
5270
  /**
5251
5271
  * Enforce sorted `import` declarations within modules
5252
5272
  * @see https://eslint.org/docs/latest/rules/sort-imports
@@ -5386,16 +5406,19 @@ interface RuleOptions {
5386
5406
  /**
5387
5407
  * Enforce linebreaks after opening and before closing array brackets
5388
5408
  * @see https://eslint.style/rules/array-bracket-newline
5409
+ * @deprecated
5389
5410
  */
5390
5411
  'style/array-bracket-newline'?: Linter.RuleEntry<StyleArrayBracketNewline>;
5391
5412
  /**
5392
5413
  * Enforce consistent spacing inside array brackets
5393
5414
  * @see https://eslint.style/rules/array-bracket-spacing
5415
+ * @deprecated
5394
5416
  */
5395
5417
  'style/array-bracket-spacing'?: Linter.RuleEntry<StyleArrayBracketSpacing>;
5396
5418
  /**
5397
5419
  * Enforce line breaks after each array element
5398
5420
  * @see https://eslint.style/rules/array-element-newline
5421
+ * @deprecated
5399
5422
  */
5400
5423
  'style/array-element-newline'?: Linter.RuleEntry<StyleArrayElementNewline>;
5401
5424
  /**
@@ -5458,14 +5481,10 @@ interface RuleOptions {
5458
5481
  * @see https://eslint.style/rules/jsx-props-style
5459
5482
  */
5460
5483
  'style/exp-jsx-props-style'?: Linter.RuleEntry<StyleExpJsxPropsStyle>;
5461
- /**
5462
- * Enforce consistent spacing and line break styles inside brackets.
5463
- * @see https://eslint.style/rules/list-style
5464
- */
5465
- 'style/exp-list-style'?: Linter.RuleEntry<StyleExpListStyle>;
5466
5484
  /**
5467
5485
  * Enforce line breaks between arguments of a function call
5468
5486
  * @see https://eslint.style/rules/function-call-argument-newline
5487
+ * @deprecated
5469
5488
  */
5470
5489
  'style/function-call-argument-newline'?: Linter.RuleEntry<StyleFunctionCallArgumentNewline>;
5471
5490
  /**
@@ -5476,6 +5495,7 @@ interface RuleOptions {
5476
5495
  /**
5477
5496
  * Enforce consistent line breaks inside function parentheses
5478
5497
  * @see https://eslint.style/rules/function-paren-newline
5498
+ * @deprecated
5479
5499
  */
5480
5500
  'style/function-paren-newline'?: Linter.RuleEntry<StyleFunctionParenNewline>;
5481
5501
  /**
@@ -5543,12 +5563,6 @@ interface RuleOptions {
5543
5563
  * @see https://eslint.style/rules/jsx-function-call-newline
5544
5564
  */
5545
5565
  'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>;
5546
- /**
5547
- * Enforce JSX indentation. Deprecated, use `indent` rule instead.
5548
- * @see https://eslint.style/rules/jsx-indent
5549
- * @deprecated
5550
- */
5551
- 'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>;
5552
5566
  /**
5553
5567
  * Enforce props indentation in JSX
5554
5568
  * @see https://eslint.style/rules/jsx-indent-props
@@ -5574,12 +5588,6 @@ interface RuleOptions {
5574
5588
  * @see https://eslint.style/rules/jsx-pascal-case
5575
5589
  */
5576
5590
  'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
5577
- /**
5578
- * Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
5579
- * @see https://eslint.style/rules/jsx-props-no-multi-spaces
5580
- * @deprecated
5581
- */
5582
- 'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
5583
5591
  /**
5584
5592
  * Enforce the consistent use of either double or single quotes in JSX attributes
5585
5593
  * @see https://eslint.style/rules/jsx-quotes
@@ -5591,11 +5599,19 @@ interface RuleOptions {
5591
5599
  */
5592
5600
  'style/jsx-self-closing-comp'?: Linter.RuleEntry<StyleJsxSelfClosingComp>;
5593
5601
  /**
5594
- * Enforce props alphabetical sorting
5595
- * @see https://eslint.style/rules/jsx-sort-props
5596
- * @deprecated
5602
+ * Require a space before a self-closing JSX slash without splitting type arguments
5603
+ */
5604
+ 'style/jsx-self-closing-spacing'?: Linter.RuleEntry<StyleJsxSelfClosingSpacing>;
5605
+ /**
5606
+ * Enforce shorthand for boolean JSX attributes.
5607
+ * @see https://eslint.style/rules/jsx-shorthand-boolean
5608
+ */
5609
+ 'style/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
5610
+ /**
5611
+ * Enforce shorthand fragment syntax.
5612
+ * @see https://eslint.style/rules/jsx-shorthand-fragment
5597
5613
  */
5598
- 'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>;
5614
+ 'style/jsx-shorthand-fragment'?: Linter.RuleEntry<[]>;
5599
5615
  /**
5600
5616
  * Enforce whitespace in and around the JSX opening and closing brackets
5601
5617
  * @see https://eslint.style/rules/jsx-tag-spacing
@@ -5636,6 +5652,11 @@ interface RuleOptions {
5636
5652
  * @see https://eslint.style/rules/lines-between-class-members
5637
5653
  */
5638
5654
  'style/lines-between-class-members'?: Linter.RuleEntry<StyleLinesBetweenClassMembers>;
5655
+ /**
5656
+ * Enforce consistent spacing and line break styles inside brackets.
5657
+ * @see https://eslint.style/rules/list-style
5658
+ */
5659
+ 'style/list-style'?: Linter.RuleEntry<StyleListStyle>;
5639
5660
  /**
5640
5661
  * Enforce a maximum line length
5641
5662
  * @see https://eslint.style/rules/max-len
@@ -5734,16 +5755,19 @@ interface RuleOptions {
5734
5755
  /**
5735
5756
  * Enforce consistent line breaks after opening and before closing braces
5736
5757
  * @see https://eslint.style/rules/object-curly-newline
5758
+ * @deprecated
5737
5759
  */
5738
5760
  'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>;
5739
5761
  /**
5740
5762
  * Enforce consistent spacing inside braces
5741
5763
  * @see https://eslint.style/rules/object-curly-spacing
5764
+ * @deprecated
5742
5765
  */
5743
5766
  'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>;
5744
5767
  /**
5745
5768
  * Enforce placing object properties on separate lines
5746
5769
  * @see https://eslint.style/rules/object-property-newline
5770
+ * @deprecated
5747
5771
  */
5748
5772
  'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>;
5749
5773
  /**
@@ -5850,7 +5874,7 @@ interface RuleOptions {
5850
5874
  * Enforces consistent spacing inside TypeScript type generics
5851
5875
  * @see https://eslint.style/rules/type-generic-spacing
5852
5876
  */
5853
- 'style/type-generic-spacing'?: Linter.RuleEntry<[]>;
5877
+ 'style/type-generic-spacing'?: Linter.RuleEntry<StyleTypeGenericSpacing>;
5854
5878
  /**
5855
5879
  * Expect space before the type declaration in the named tuple
5856
5880
  * @see https://eslint.style/rules/type-named-tuple-spacing
@@ -11058,6 +11082,11 @@ interface RuleOptions {
11058
11082
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
11059
11083
  */
11060
11084
  'yaml/key-spacing'?: Linter.RuleEntry<YamlKeySpacing>;
11085
+ /**
11086
+ * enforce a maximum line length
11087
+ * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/max-len.html
11088
+ */
11089
+ 'yaml/max-len'?: Linter.RuleEntry<YamlMaxLen>;
11061
11090
  /**
11062
11091
  * disallow boolean mapping keys
11063
11092
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
@@ -17336,6 +17365,19 @@ type ReactNoUnstableDefaultProps = [] | [{
17336
17365
  type ReactRulesOfHooks = [] | [{
17337
17366
  additionalHooks?: string;
17338
17367
  }];
17368
+ // ----- react/unstable-exhaustive-deps -----
17369
+ type ReactUnstableExhaustiveDeps = [] | [{
17370
+ additionalHooks?: string;
17371
+ enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
17372
+ experimental_autoDependenciesHooks?: string[];
17373
+ hooks?: {
17374
+ name: string;
17375
+ closureIndex?: number;
17376
+ dependenciesIndex?: number;
17377
+ stableResult?: (boolean | number | [number, ...(number)[]]);
17378
+ }[];
17379
+ requireExplicitEffectDeps?: boolean;
17380
+ }];
17339
17381
  // ----- react/use-state -----
17340
17382
  type ReactUseState = [] | [{
17341
17383
  enforceAssignment?: boolean;
@@ -17911,7 +17953,7 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
17911
17953
  // ----- style/dot-location -----
17912
17954
  type StyleDotLocation = [] | [("object" | "property")];
17913
17955
  // ----- style/eol-last -----
17914
- type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")];
17956
+ type StyleEolLast = [] | [("always" | "never")];
17915
17957
  // ----- style/exp-jsx-props-style -----
17916
17958
  type StyleExpJsxPropsStyle = [] | [{
17917
17959
  singleLine?: {
@@ -17922,51 +17964,6 @@ type StyleExpJsxPropsStyle = [] | [{
17922
17964
  maxItemsPerLine?: number;
17923
17965
  };
17924
17966
  }];
17925
- // ----- style/exp-list-style -----
17926
- type StyleExpListStyle = [] | [{
17927
- singleLine?: _StyleExpListStyle_SingleLineConfig;
17928
- multiLine?: _StyleExpListStyle_MultiLineConfig;
17929
- overrides?: {
17930
- "()"?: (_StyleExpListStyle_BaseConfig | "off");
17931
- "[]"?: (_StyleExpListStyle_BaseConfig | "off");
17932
- "{}"?: (_StyleExpListStyle_BaseConfig | "off");
17933
- "<>"?: (_StyleExpListStyle_BaseConfig | "off");
17934
- ArrayExpression?: (_StyleExpListStyle_BaseConfig | "off");
17935
- ArrayPattern?: (_StyleExpListStyle_BaseConfig | "off");
17936
- ArrowFunctionExpression?: (_StyleExpListStyle_BaseConfig | "off");
17937
- CallExpression?: (_StyleExpListStyle_BaseConfig | "off");
17938
- ExportNamedDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
17939
- FunctionDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
17940
- FunctionExpression?: (_StyleExpListStyle_BaseConfig | "off");
17941
- IfStatement?: (_StyleExpListStyle_BaseConfig | "off");
17942
- ImportAttributes?: (_StyleExpListStyle_BaseConfig | "off");
17943
- ImportDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
17944
- JSONArrayExpression?: (_StyleExpListStyle_BaseConfig | "off");
17945
- JSONObjectExpression?: (_StyleExpListStyle_BaseConfig | "off");
17946
- NewExpression?: (_StyleExpListStyle_BaseConfig | "off");
17947
- ObjectExpression?: (_StyleExpListStyle_BaseConfig | "off");
17948
- ObjectPattern?: (_StyleExpListStyle_BaseConfig | "off");
17949
- TSDeclareFunction?: (_StyleExpListStyle_BaseConfig | "off");
17950
- TSEnumBody?: (_StyleExpListStyle_BaseConfig | "off");
17951
- TSFunctionType?: (_StyleExpListStyle_BaseConfig | "off");
17952
- TSInterfaceBody?: (_StyleExpListStyle_BaseConfig | "off");
17953
- TSTupleType?: (_StyleExpListStyle_BaseConfig | "off");
17954
- TSTypeLiteral?: (_StyleExpListStyle_BaseConfig | "off");
17955
- TSTypeParameterDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
17956
- TSTypeParameterInstantiation?: (_StyleExpListStyle_BaseConfig | "off");
17957
- };
17958
- }];
17959
- interface _StyleExpListStyle_SingleLineConfig {
17960
- spacing?: ("always" | "never");
17961
- maxItems?: number;
17962
- }
17963
- interface _StyleExpListStyle_MultiLineConfig {
17964
- minItems?: number;
17965
- }
17966
- interface _StyleExpListStyle_BaseConfig {
17967
- singleLine?: _StyleExpListStyle_SingleLineConfig;
17968
- multiline?: _StyleExpListStyle_MultiLineConfig;
17969
- }
17970
17967
  // ----- style/function-call-argument-newline -----
17971
17968
  type StyleFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
17972
17969
  // ----- style/function-call-spacing -----
@@ -18041,10 +18038,10 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
18041
18038
  AwaitExpression?: boolean;
18042
18039
  NewExpression?: boolean;
18043
18040
  });
18044
- offsetTernaryExpressionsOffsetCallExpressions?: boolean;
18045
18041
  ignoredNodes?: string[];
18046
18042
  ignoreComments?: boolean;
18047
18043
  tabLength?: number;
18044
+ jsx?: (number | "half");
18048
18045
  }];
18049
18046
  // ----- style/indent-binary-ops -----
18050
18047
  type StyleIndentBinaryOps = [] | [(number | "tab")];
@@ -18121,11 +18118,6 @@ type StyleJsxEqualsSpacing = [] | [("always" | "never")];
18121
18118
  type StyleJsxFirstPropNewLine = [] | [("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")];
18122
18119
  // ----- style/jsx-function-call-newline -----
18123
18120
  type StyleJsxFunctionCallNewline = [] | [("always" | "multiline")];
18124
- // ----- style/jsx-indent -----
18125
- type StyleJsxIndent = [] | [("tab" | number)] | [("tab" | number), {
18126
- checkAttributes?: boolean;
18127
- indentLogicalExpressions?: boolean;
18128
- }];
18129
18121
  // ----- style/jsx-indent-props -----
18130
18122
  type StyleJsxIndentProps = [] | [(("tab" | "first") | number | {
18131
18123
  indentMode?: (("tab" | "first") | number);
@@ -18164,18 +18156,8 @@ type StyleJsxSelfClosingComp = [] | [{
18164
18156
  component?: boolean;
18165
18157
  html?: boolean;
18166
18158
  }];
18167
- // ----- style/jsx-sort-props -----
18168
- type StyleJsxSortProps = [] | [{
18169
- callbacksLast?: boolean;
18170
- shorthandFirst?: boolean;
18171
- shorthandLast?: boolean;
18172
- multiline?: ("ignore" | "first" | "last");
18173
- ignoreCase?: boolean;
18174
- noSortAlphabetically?: boolean;
18175
- reservedFirst?: (string[] | boolean);
18176
- reservedLast?: string[];
18177
- locale?: string;
18178
- }];
18159
+ // ----- style/jsx-self-closing-spacing -----
18160
+ type StyleJsxSelfClosingSpacing = [] | [("always" | "never" | "proportional-always" | "allow")];
18179
18161
  // ----- style/jsx-tag-spacing -----
18180
18162
  type StyleJsxTagSpacing = [] | [{
18181
18163
  closingSlash?: ("always" | "never" | "allow");
@@ -18548,7 +18530,6 @@ type StyleKeywordSpacing = [] | [{
18548
18530
  type StyleLineCommentPosition = [] | [(("above" | "beside") | {
18549
18531
  position?: ("above" | "beside");
18550
18532
  ignorePattern?: string;
18551
- applyDefaultPatterns?: boolean;
18552
18533
  applyDefaultIgnorePatterns?: boolean;
18553
18534
  })];
18554
18535
  // ----- style/linebreak-style -----
@@ -18604,6 +18585,53 @@ type StyleLinesBetweenClassMembers = [] | [({
18604
18585
  exceptAfterSingleLine?: boolean;
18605
18586
  exceptAfterOverload?: boolean;
18606
18587
  }];
18588
+ // ----- style/list-style -----
18589
+ type StyleListStyle = [] | [{
18590
+ empty?: ("ignore" | "always" | "never");
18591
+ singleLine?: _StyleListStyle_SingleLineConfig;
18592
+ multiLine?: _StyleListStyle_MultiLineConfig;
18593
+ overrides?: {
18594
+ "()"?: (_StyleListStyle_BaseConfig | "off");
18595
+ "[]"?: (_StyleListStyle_BaseConfig | "off");
18596
+ "{}"?: (_StyleListStyle_BaseConfig | "off");
18597
+ "<>"?: (_StyleListStyle_BaseConfig | "off");
18598
+ ArrayExpression?: (_StyleListStyle_BaseConfig | "off");
18599
+ ArrayPattern?: (_StyleListStyle_BaseConfig | "off");
18600
+ ArrowFunctionExpression?: (_StyleListStyle_BaseConfig | "off");
18601
+ CallExpression?: (_StyleListStyle_BaseConfig | "off");
18602
+ ExportNamedDeclaration?: (_StyleListStyle_BaseConfig | "off");
18603
+ FunctionDeclaration?: (_StyleListStyle_BaseConfig | "off");
18604
+ FunctionExpression?: (_StyleListStyle_BaseConfig | "off");
18605
+ IfStatement?: (_StyleListStyle_BaseConfig | "off");
18606
+ ImportAttributes?: (_StyleListStyle_BaseConfig | "off");
18607
+ ImportDeclaration?: (_StyleListStyle_BaseConfig | "off");
18608
+ JSONArrayExpression?: (_StyleListStyle_BaseConfig | "off");
18609
+ JSONObjectExpression?: (_StyleListStyle_BaseConfig | "off");
18610
+ NewExpression?: (_StyleListStyle_BaseConfig | "off");
18611
+ ObjectExpression?: (_StyleListStyle_BaseConfig | "off");
18612
+ ObjectPattern?: (_StyleListStyle_BaseConfig | "off");
18613
+ TSDeclareFunction?: (_StyleListStyle_BaseConfig | "off");
18614
+ TSEnumBody?: (_StyleListStyle_BaseConfig | "off");
18615
+ TSFunctionType?: (_StyleListStyle_BaseConfig | "off");
18616
+ TSInterfaceBody?: (_StyleListStyle_BaseConfig | "off");
18617
+ TSTupleType?: (_StyleListStyle_BaseConfig | "off");
18618
+ TSTypeLiteral?: (_StyleListStyle_BaseConfig | "off");
18619
+ TSTypeParameterDeclaration?: (_StyleListStyle_BaseConfig | "off");
18620
+ TSTypeParameterInstantiation?: (_StyleListStyle_BaseConfig | "off");
18621
+ };
18622
+ }];
18623
+ interface _StyleListStyle_SingleLineConfig {
18624
+ spacing?: ("always" | "never");
18625
+ maxItems?: number;
18626
+ }
18627
+ interface _StyleListStyle_MultiLineConfig {
18628
+ minItems?: number;
18629
+ }
18630
+ interface _StyleListStyle_BaseConfig {
18631
+ empty?: ("ignore" | "always" | "never");
18632
+ singleLine?: _StyleListStyle_SingleLineConfig;
18633
+ multiLine?: _StyleListStyle_MultiLineConfig;
18634
+ }
18607
18635
  // ----- style/max-len -----
18608
18636
  type StyleMaxLen = [] | [({
18609
18637
  code?: number;
@@ -18749,7 +18777,7 @@ type StyleNoMixedOperators = [] | [{
18749
18777
  allowSamePrecedence?: boolean;
18750
18778
  }];
18751
18779
  // ----- style/no-mixed-spaces-and-tabs -----
18752
- type StyleNoMixedSpacesAndTabs = [] | [("smart-tabs" | boolean)];
18780
+ type StyleNoMixedSpacesAndTabs = [] | ["smart-tabs"];
18753
18781
  // ----- style/no-multi-spaces -----
18754
18782
  type StyleNoMultiSpaces = [] | [{
18755
18783
  exceptions?: {
@@ -18888,11 +18916,11 @@ type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consiste
18888
18916
  numbers?: boolean;
18889
18917
  }]);
18890
18918
  // ----- style/quotes -----
18891
- type StyleQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
18919
+ type StyleQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), {
18892
18920
  avoidEscape?: boolean;
18893
- allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"));
18921
+ allowTemplateLiterals?: ("never" | "avoidEscape" | "always");
18894
18922
  ignoreStringLiterals?: boolean;
18895
- })];
18923
+ }];
18896
18924
  // ----- style/rest-spread-spacing -----
18897
18925
  type StyleRestSpreadSpacing = [] | [("always" | "never")];
18898
18926
  // ----- style/semi -----
@@ -18930,6 +18958,7 @@ type StyleSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
18930
18958
  // ----- style/space-infix-ops -----
18931
18959
  type StyleSpaceInfixOps = [] | [{
18932
18960
  int32Hint?: boolean;
18961
+ ignoreOperators?: string[];
18933
18962
  ignoreTypes?: boolean;
18934
18963
  }];
18935
18964
  // ----- style/space-unary-ops -----
@@ -18969,17 +18998,22 @@ type StyleTypeAnnotationSpacing = [] | [{
18969
18998
  after?: boolean;
18970
18999
  overrides?: {
18971
19000
  colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
18972
- arrow?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
18973
- variable?: _StyleTypeAnnotationSpacing_SpacingConfig;
18974
- parameter?: _StyleTypeAnnotationSpacing_SpacingConfig;
18975
- property?: _StyleTypeAnnotationSpacing_SpacingConfig;
18976
- returnType?: _StyleTypeAnnotationSpacing_SpacingConfig;
19001
+ variable?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
19002
+ parameter?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
19003
+ property?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
19004
+ returnType?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
19005
+ questionMark?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
18977
19006
  };
18978
19007
  }];
18979
19008
  interface _StyleTypeAnnotationSpacing_SpacingConfig {
18980
19009
  before?: boolean;
18981
19010
  after?: boolean;
18982
19011
  }
19012
+ // ----- style/type-generic-spacing -----
19013
+ type StyleTypeGenericSpacing = [] | [{
19014
+ before?: boolean;
19015
+ after?: boolean;
19016
+ }];
18983
19017
  // ----- style/wrap-iife -----
18984
19018
  type StyleWrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
18985
19019
  functionPrototypeMethods?: boolean;
@@ -22299,6 +22333,7 @@ type VueSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
22299
22333
  // ----- vue/space-infix-ops -----
22300
22334
  type VueSpaceInfixOps = [] | [{
22301
22335
  int32Hint?: boolean;
22336
+ ignoreOperators?: string[];
22302
22337
  ignoreTypes?: boolean;
22303
22338
  }];
22304
22339
  // ----- vue/space-unary-ops -----
@@ -22465,6 +22500,17 @@ type YamlKeySpacing = [] | [({
22465
22500
  afterColon?: boolean;
22466
22501
  };
22467
22502
  })];
22503
+ // ----- yaml/max-len -----
22504
+ type YamlMaxLen = [] | [{
22505
+ code?: number;
22506
+ comments?: number;
22507
+ tabWidth?: number;
22508
+ ignorePattern?: string;
22509
+ ignoreComments?: boolean;
22510
+ ignoreTrailingComments?: boolean;
22511
+ ignoreUrls?: boolean;
22512
+ ignoreStrings?: boolean;
22513
+ }];
22468
22514
  // ----- yaml/no-irregular-whitespace -----
22469
22515
  type YamlNoIrregularWhitespace = [] | [{
22470
22516
  skipComments?: boolean;
package/dist/index.js CHANGED
@@ -505,6 +505,122 @@ async function e18e(options = {}) {
505
505
  }
506
506
  }];
507
507
  }
508
+ // src/rules/jsx-tag-spacing.ts
509
+ /**
510
+ * Read `beforeSelfClosing` from a `style/jsx-tag-spacing` entry.
511
+ *
512
+ * @param {Rules[string]} entry Configured `style/jsx-tag-spacing` entry.
513
+ * @returns {BeforeSelfClosing} The option, or `always` when the entry uses the preset default.
514
+ */
515
+ function readBeforeSelfClosing(entry) {
516
+ if (!Array.isArray(entry)) return "always";
517
+ const options = entry[1];
518
+ if (!options || typeof options !== "object" || !("beforeSelfClosing" in options)) return "always";
519
+ const value = options.beforeSelfClosing;
520
+ if (value === "allow" || value === "always" || value === "never" || value === "proportional-always") return value;
521
+ return "always";
522
+ }
523
+ /**
524
+ * `@stylistic/jsx-tag-spacing` treats the `<` of `<FieldStep<V, O> />` as the closing
525
+ * bracket. Turn that check off and let {@link jsxSelfClosingSpacing} enforce the space
526
+ * before `/>` without rewriting the generic.
527
+ *
528
+ * @param {Rules} rules Stylistic rules, including user overrides.
529
+ * @param {boolean | undefined} jsx Whether JSX stylistic rules are enabled.
530
+ */
531
+ function moveJsxSelfClosingCheck(rules, jsx) {
532
+ if (jsx === false) return;
533
+ const entry = rules["style/jsx-tag-spacing"];
534
+ if (entry == null || entry === "off" || entry === 0) return;
535
+ const beforeSelfClosing = readBeforeSelfClosing(entry);
536
+ const severity = Array.isArray(entry) ? entry[0] : entry;
537
+ rules["style/jsx-tag-spacing"] = [severity, {
538
+ ...Array.isArray(entry) && entry[1] && typeof entry[1] === "object" ? entry[1] : {},
539
+ beforeSelfClosing: "allow"
540
+ }];
541
+ if (beforeSelfClosing !== "allow") rules["style/jsx-self-closing-spacing"] = [severity === 1 || severity === "warn" ? "warn" : "error", beforeSelfClosing];
542
+ }
543
+ /**
544
+ * Enforce the space before `/>`, skipping JSX type argument lists.
545
+ *
546
+ * `<FieldStep<V, O> />` keeps its generic tight. `<Foo/>` is still fixed to `<Foo />`.
547
+ */
548
+ const jsxSelfClosingSpacing = {
549
+ create(context) {
550
+ const option = context.options[0] ?? "always";
551
+ const sourceCode = context.sourceCode;
552
+ /**
553
+ * Token that should sit immediately before `/>`.
554
+ *
555
+ * @param {JsxOpeningElement} node Self-closing JSX opening element.
556
+ * @returns {Rule.Node} The name, last attribute, or the `>` that closes a type argument list.
557
+ */
558
+ function tokenBeforeClosingSlash(node) {
559
+ const attributes = node.attributes ?? [];
560
+ const attribute = attributes[attributes.length - 1];
561
+ if (attribute) return attribute;
562
+ const typeArguments = node.typeArguments ?? node.typeParameters;
563
+ return sourceCode.getLastToken(typeArguments ?? node.name) ?? node.name;
564
+ }
565
+ return { JSXOpeningElement(node) {
566
+ const opening = node;
567
+ if (!opening.selfClosing || option === "allow") return;
568
+ const left = tokenBeforeClosingSlash(opening);
569
+ const closingSlash = sourceCode.getTokenAfter(left);
570
+ if (!closingSlash?.loc || !left.loc) return;
571
+ const sameLine = left.loc.end.line === closingSlash.loc.start.line;
572
+ if (!(opening.loc.start.line === opening.loc.end.line) && option === "proportional-always") {
573
+ if (sameLine) context.report({
574
+ fix: (fixer) => fixer.insertTextBefore(closingSlash, "\n"),
575
+ loc: left.loc.end,
576
+ messageId: "needNewline",
577
+ node
578
+ });
579
+ return;
580
+ }
581
+ if (!sameLine) return;
582
+ const adjacent = !sourceCode.isSpaceBetween(left, closingSlash);
583
+ if ((option === "always" || option === "proportional-always") && adjacent) {
584
+ context.report({
585
+ fix: (fixer) => fixer.insertTextBefore(closingSlash, " "),
586
+ loc: closingSlash.loc.start,
587
+ messageId: "needSpace",
588
+ node
589
+ });
590
+ return;
591
+ }
592
+ if (option === "never" && !adjacent) {
593
+ const previousToken = sourceCode.getTokenBefore(closingSlash);
594
+ if (!previousToken) return;
595
+ context.report({
596
+ fix: (fixer) => fixer.removeRange([previousToken.range[1], closingSlash.range[0]]),
597
+ loc: closingSlash.loc.start,
598
+ messageId: "noSpace",
599
+ node
600
+ });
601
+ }
602
+ } };
603
+ },
604
+ meta: {
605
+ docs: { description: "Require a space before a self-closing JSX slash without splitting type arguments" },
606
+ fixable: "whitespace",
607
+ messages: {
608
+ needNewline: "A newline is required before closing bracket",
609
+ needSpace: "A space is required before closing bracket",
610
+ noSpace: "A space is forbidden before closing bracket"
611
+ },
612
+ schema: [{
613
+ enum: [
614
+ "always",
615
+ "never",
616
+ "proportional-always",
617
+ "allow"
618
+ ],
619
+ type: "string"
620
+ }],
621
+ type: "layout"
622
+ }
623
+ };
508
624
  // src/configs/stylistic.ts
509
625
  const StylisticConfigDefaults = {
510
626
  arrowParens: true,
@@ -524,51 +640,58 @@ async function stylistic(options = {}) {
524
640
  ...options
525
641
  };
526
642
  const pluginStylistic = await interopDefault(import("@stylistic/eslint-plugin"));
527
- const config = pluginStylistic.configs.customize({
528
- arrowParens,
529
- blockSpacing,
530
- braceStyle,
531
- commaDangle,
532
- experimental,
533
- indent,
534
- jsx,
535
- pluginName: "style",
536
- quoteProps,
537
- quotes,
538
- semi
539
- });
643
+ const stylePlugin = {
644
+ ...pluginStylistic,
645
+ rules: {
646
+ ...pluginStylistic.rules,
647
+ "jsx-self-closing-spacing": jsxSelfClosingSpacing
648
+ }
649
+ };
650
+ const rules = {
651
+ ...pluginStylistic.configs.customize({
652
+ arrowParens,
653
+ blockSpacing,
654
+ braceStyle,
655
+ commaDangle,
656
+ experimental,
657
+ indent,
658
+ jsx,
659
+ pluginName: "style",
660
+ quoteProps,
661
+ quotes,
662
+ semi
663
+ }).rules,
664
+ "antfu/consistent-chaining": "error",
665
+ ...lessOpinionated ? { "curly": "off" } : { "antfu/curly": "error" },
666
+ "style/max-len": "off",
667
+ "style/max-statements-per-line": "off",
668
+ "style/multiline-ternary": "off",
669
+ "style/quotes": [
670
+ "error",
671
+ "single",
672
+ {
673
+ avoidEscape: true,
674
+ allowTemplateLiterals: "avoidEscape"
675
+ }
676
+ ],
677
+ "style/generator-star-spacing": ["error", {
678
+ after: true,
679
+ before: false
680
+ }],
681
+ "style/yield-star-spacing": ["error", {
682
+ after: true,
683
+ before: false
684
+ }],
685
+ ...overrides
686
+ };
687
+ moveJsxSelfClosingCheck(rules, jsx);
540
688
  return [{
541
689
  name: "config/stylistic/rules",
542
690
  plugins: {
543
691
  antfu: pluginAntfu,
544
- style: pluginStylistic
692
+ style: stylePlugin
545
693
  },
546
- rules: {
547
- ...config.rules,
548
- ...experimental ? {} : { "antfu/consistent-list-newline": "error" },
549
- "antfu/consistent-chaining": "error",
550
- ...lessOpinionated ? { "curly": "off" } : { "antfu/curly": "error" },
551
- "style/max-len": "off",
552
- "style/max-statements-per-line": "off",
553
- "style/multiline-ternary": "off",
554
- "style/quotes": [
555
- "error",
556
- "single",
557
- {
558
- avoidEscape: true,
559
- allowTemplateLiterals: "avoidEscape"
560
- }
561
- ],
562
- "style/generator-star-spacing": ["error", {
563
- after: true,
564
- before: false
565
- }],
566
- "style/yield-star-spacing": ["error", {
567
- after: true,
568
- before: false
569
- }],
570
- ...overrides
571
- }
694
+ rules
572
695
  }];
573
696
  }
574
697
  // src/configs/formatters.ts
@@ -1248,7 +1371,6 @@ async function jsonc(options = {}) {
1248
1371
  "jsonc/valid-json-number": "error",
1249
1372
  "jsonc/vue-custom-block/no-parsing-error": "error",
1250
1373
  ...stylistic ? {
1251
- "jsonc/array-bracket-spacing": ["error", "always"],
1252
1374
  "jsonc/comma-dangle": ["error", "never"],
1253
1375
  "jsonc/comma-style": ["error", "last"],
1254
1376
  "jsonc/indent": ["error", typeof indent === "number" ? indent : indent === "tab" ? "tab" : 2],
@@ -1256,14 +1378,12 @@ async function jsonc(options = {}) {
1256
1378
  afterColon: true,
1257
1379
  beforeColon: false
1258
1380
  }],
1259
- "jsonc/object-curly-newline": ["error", {
1260
- consistent: true,
1261
- multiline: true
1262
- }],
1263
- "jsonc/object-curly-spacing": ["error", "always"],
1264
- "jsonc/object-property-newline": ["error", { allowMultiplePropertiesPerLine: true }],
1265
1381
  "jsonc/quote-props": "error",
1266
- "jsonc/quotes": "error"
1382
+ "jsonc/quotes": "error",
1383
+ "style/list-style": ["error", { overrides: {
1384
+ JSONArrayExpression: { singleLine: { spacing: "always" } },
1385
+ JSONObjectExpression: { singleLine: { spacing: "always" } }
1386
+ } }]
1267
1387
  } : {},
1268
1388
  ...overrides
1269
1389
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infernodesign/eslint-config",
3
3
  "description": "ESLint config for Inferno Design.",
4
- "version": "2.18.0",
4
+ "version": "2.20.0",
5
5
  "type": "module",
6
6
  "author": "Inferno Design <support@infernodesign.com>",
7
7
  "license": "MIT",
@@ -50,19 +50,19 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@antfu/install-pkg": "^2.1.0",
53
- "@clack/prompts": "^1.8.1",
53
+ "@clack/prompts": "^1.9.0",
54
54
  "@e18e/eslint-plugin": "^0.8.1",
55
55
  "@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
56
56
  "@eslint/compat": "^2.1.1",
57
- "@eslint/config-array": "^0.23.5",
57
+ "@eslint/config-array": "^0.23.6",
58
58
  "@eslint/config-helpers": "^0.7.0",
59
59
  "@eslint/markdown": "^8.0.3",
60
- "@stylistic/eslint-plugin": "^5.10.0",
61
- "@typescript-eslint/eslint-plugin": "^8.72.1",
62
- "@typescript-eslint/parser": "^8.72.1",
63
- "@typescript-eslint/utils": "^8.72.1",
60
+ "@stylistic/eslint-plugin": "^6.0.1",
61
+ "@typescript-eslint/eslint-plugin": "^8.72.2",
62
+ "@typescript-eslint/parser": "^8.72.2",
63
+ "@typescript-eslint/utils": "^8.72.2",
64
64
  "@vitest/eslint-plugin": "^1.6.28",
65
- "ansis": "^4.4.0",
65
+ "ansis": "^4.5.0",
66
66
  "cac": "^7.1.0",
67
67
  "eslint-config-flat-gitignore": "^2.4.0",
68
68
  "eslint-flat-config-utils": "^3.2.0",
@@ -70,7 +70,7 @@
70
70
  "eslint-plugin-antfu": "^3.3.1",
71
71
  "eslint-plugin-command": "^4.0.0",
72
72
  "eslint-plugin-import-lite": "^0.6.0",
73
- "eslint-plugin-jsdoc": "^65.4.2",
73
+ "eslint-plugin-jsdoc": "^65.4.7",
74
74
  "eslint-plugin-jsonc": "^3.4.2",
75
75
  "eslint-plugin-n": "^18.5.0",
76
76
  "eslint-plugin-no-only-tests": "^3.4.0",
@@ -80,41 +80,41 @@
80
80
  "eslint-plugin-toml": "^1.5.0",
81
81
  "eslint-plugin-unicorn": "^79.0.0",
82
82
  "eslint-plugin-unused-imports": "^4.4.1",
83
- "eslint-plugin-vue": "^10.12.0",
84
- "eslint-plugin-yml": "^3.9.0",
83
+ "eslint-plugin-vue": "^10.12.1",
84
+ "eslint-plugin-yml": "^3.10.0",
85
85
  "eslint-processor-vue-blocks": "^2.0.0",
86
86
  "globals": "^17.14.0",
87
87
  "jsonc-eslint-parser": "^3.3.0",
88
- "local-pkg": "^1.2.1",
88
+ "local-pkg": "^2.0.0",
89
89
  "parse-gitignore": "^2.0.0",
90
90
  "toml-eslint-parser": "^1.0.3",
91
- "vue-eslint-parser": "^10.4.1",
91
+ "vue-eslint-parser": "^10.4.2",
92
92
  "yaml-eslint-parser": "^2.1.0"
93
93
  },
94
94
  "devDependencies": {
95
- "@eslint-react/eslint-plugin": "^5.28.8",
95
+ "@eslint-react/eslint-plugin": "^5.30.2",
96
96
  "@eslint/config-inspector": "^3.5.0",
97
97
  "@infernodesign/typescript-config": "workspace:*",
98
- "@medusajs/eslint-plugin": "^2.22.2",
99
- "@next/eslint-plugin-next": "^16.4.3",
98
+ "@medusajs/eslint-plugin": "^2.22.7",
99
+ "@next/eslint-plugin-next": "^16.4.6",
100
100
  "@prettier/plugin-xml": "^3.4.2",
101
- "@sanity-labs/eslint-plugin": "^1.0.7",
102
- "@shadcn/lint": "^0.2.3",
101
+ "@sanity-labs/eslint-plugin": "^1.0.8",
102
+ "@shadcn/lint": "^0.2.5",
103
103
  "@types/bun": "^1.4.4",
104
104
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
105
105
  "@types/node": "^26.6.6",
106
- "@unocss/eslint-plugin": "^66.12.0",
106
+ "@unocss/eslint-plugin": "^66.13.0",
107
107
  "astro-eslint-parser": "^3.2.0",
108
- "eslint": "^10.14.0",
108
+ "eslint": "^10.15.0",
109
109
  "eslint-plugin-astro": "^3.2.1",
110
- "eslint-plugin-better-tailwindcss": "^4.10.0",
110
+ "eslint-plugin-better-tailwindcss": "^4.11.0",
111
111
  "eslint-plugin-erasable-syntax-only": "^0.7.2",
112
112
  "eslint-plugin-format": "^2.0.1",
113
113
  "eslint-plugin-jsx-a11y": "^6.10.2",
114
114
  "eslint-plugin-react-refresh": "^0.5.7",
115
- "eslint-plugin-solid": "^0.18.1",
116
- "eslint-plugin-storybook": "^10.6.5",
117
- "eslint-plugin-svelte": "^3.23.1",
115
+ "eslint-plugin-solid": "^0.19.0",
116
+ "eslint-plugin-storybook": "^10.6.7",
117
+ "eslint-plugin-svelte": "^3.24.1",
118
118
  "eslint-plugin-vuejs-accessibility": "^2.6.3",
119
119
  "eslint-typegen": "^2.3.2",
120
120
  "execa": "^10.2.1",
@@ -124,36 +124,36 @@
124
124
  "prettier-plugin-astro": "^1.1.2",
125
125
  "prettier-plugin-slidev": "^1.0.5",
126
126
  "svelte": "^5.57.3",
127
- "svelte-eslint-parser": "^1.10.0",
127
+ "svelte-eslint-parser": "^1.10.1",
128
128
  "tinyglobby": "^0.2.17",
129
- "tsdown": "^0.23.4",
129
+ "tsdown": "^0.23.7",
130
130
  "typescript": "^6.0.3",
131
- "vitest": "^5.0.5",
132
- "vue": "^3.5.44"
131
+ "vitest": "^5.1.0",
132
+ "vue": "^3.5.45"
133
133
  },
134
134
  "peerDependencies": {
135
- "@eslint-react/eslint-plugin": "^5.28.8",
136
- "@medusajs/eslint-plugin": "^2.22.2",
137
- "@next/eslint-plugin-next": "^16.4.3",
135
+ "@eslint-react/eslint-plugin": "^5.30.2",
136
+ "@medusajs/eslint-plugin": "^2.22.7",
137
+ "@next/eslint-plugin-next": "^16.4.6",
138
138
  "@prettier/plugin-xml": "^3.4.2",
139
- "@sanity-labs/eslint-plugin": "^1.0.7",
140
- "@shadcn/lint": "^0.2.3",
141
- "@unocss/eslint-plugin": "^66.12.0",
139
+ "@sanity-labs/eslint-plugin": "^1.0.8",
140
+ "@shadcn/lint": "^0.2.5",
141
+ "@unocss/eslint-plugin": "^66.13.0",
142
142
  "astro-eslint-parser": "^3.2.0",
143
- "eslint": "^10.14.0",
143
+ "eslint": "^10.15.0",
144
144
  "eslint-plugin-astro": "^3.2.1",
145
- "eslint-plugin-better-tailwindcss": "^4.10.0",
145
+ "eslint-plugin-better-tailwindcss": "^4.11.0",
146
146
  "eslint-plugin-erasable-syntax-only": "^0.7.2",
147
147
  "eslint-plugin-format": "^2.0.1",
148
148
  "eslint-plugin-jsx-a11y": "^6.10.2",
149
149
  "eslint-plugin-react-refresh": "^0.5.7",
150
- "eslint-plugin-solid": "^0.18.1",
151
- "eslint-plugin-storybook": "^10.6.5",
152
- "eslint-plugin-svelte": "^3.23.1",
150
+ "eslint-plugin-solid": "^0.19.0",
151
+ "eslint-plugin-storybook": "^10.6.7",
152
+ "eslint-plugin-svelte": "^3.24.1",
153
153
  "eslint-plugin-vuejs-accessibility": "^2.6.3",
154
154
  "prettier-plugin-astro": "^1.1.2",
155
155
  "prettier-plugin-slidev": "^1.0.5",
156
- "svelte-eslint-parser": "^1.10.0"
156
+ "svelte-eslint-parser": "^1.10.1"
157
157
  },
158
158
  "peerDependenciesMeta": {
159
159
  "@eslint-react/eslint-plugin": {