@anolilab/eslint-config 27.0.9 → 28.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## @anolilab/eslint-config [28.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@27.0.10...@anolilab/eslint-config@28.0.0) (2026-06-20)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * **deps:** updated dependencies to major versions
6
+
7
+ ### Bug Fixes
8
+
9
+ * **deps:** update eslint ([9a62669](https://github.com/anolilab/javascript-style-guide/commit/9a62669619b41c96b9adac7f9418ca95fa17d865))
10
+ * **deps:** update eslint ([0500a32](https://github.com/anolilab/javascript-style-guide/commit/0500a32e98b5c5eb591d4b7320ff3a558f83dc69))
11
+
12
+ ### Styles
13
+
14
+ * **deps:** update eslint to v1 ([4a0f84a](https://github.com/anolilab/javascript-style-guide/commit/4a0f84a126aeb7f0e4e96512edeec93e8bd20ff3))
15
+
16
+ ## @anolilab/eslint-config [27.0.10](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@27.0.9...@anolilab/eslint-config@27.0.10) (2026-06-11)
17
+
1
18
  ## @anolilab/eslint-config [27.0.9](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@27.0.8...@anolilab/eslint-config@27.0.9) (2026-06-11)
2
19
 
3
20
  ## @anolilab/eslint-config [27.0.8](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@27.0.7...@anolilab/eslint-config@27.0.8) (2026-06-11)
package/dist/index.d.ts CHANGED
@@ -3742,42 +3742,42 @@ interface RuleOptions {
3742
3742
  'react-x/immutability'?: Linter.RuleEntry<[]>;
3743
3743
  /**
3744
3744
  * Disallows passing 'children' as a prop.
3745
- * @see https://eslint-react.xyz/docs/rules/no-children-prop
3745
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-children-prop
3746
3746
  */
3747
3747
  'react-x/jsx-no-children-prop'?: Linter.RuleEntry<[]>;
3748
3748
  /**
3749
3749
  * Disallows passing 'children' as a prop when children are also passed as nested content.
3750
- * @see https://eslint-react.xyz/docs/rules/no-children-prop-with-children
3750
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-children-prop-with-children
3751
3751
  */
3752
3752
  'react-x/jsx-no-children-prop-with-children'?: Linter.RuleEntry<[]>;
3753
3753
  /**
3754
3754
  * Prevents comment strings from being accidentally inserted into a JSX element's text nodes.
3755
- * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
3755
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
3756
3756
  */
3757
3757
  'react-x/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
3758
3758
  /**
3759
3759
  * Prevent patterns that cause deoptimization when using the automatic JSX runtime.
3760
- * @see https://eslint-react.xyz/docs/rules/no-key-after-spread
3760
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-key-after-spread
3761
3761
  */
3762
3762
  'react-x/jsx-no-key-after-spread'?: Linter.RuleEntry<[]>;
3763
3763
  /**
3764
3764
  * Catches `$` before `{expr}` in JSX — typically from template literal `${expr}` being copy-pasted into JSX without removing the `$`. The `$` "leaks" into the rendered output.
3765
- * @see https://eslint-react.xyz/docs/rules/no-leaked-dollar
3765
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-leaked-dollar
3766
3766
  */
3767
3767
  'react-x/jsx-no-leaked-dollar'?: Linter.RuleEntry<[]>;
3768
3768
  /**
3769
3769
  * Catches `;` at the start of JSX text nodes — typically from accidentally placing a statement-ending `;` inside JSX. The `;` "leaks" into the rendered output.
3770
- * @see https://eslint-react.xyz/docs/rules/no-leaked-semicolon
3770
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-leaked-semicolon
3771
3771
  */
3772
3772
  'react-x/jsx-no-leaked-semicolon'?: Linter.RuleEntry<[]>;
3773
3773
  /**
3774
3774
  * Disallow JSX namespace syntax, as React does not support them.
3775
- * @see https://eslint-react.xyz/docs/rules/no-namespace
3775
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-namespace
3776
3776
  */
3777
3777
  'react-x/jsx-no-namespace'?: Linter.RuleEntry<[]>;
3778
3778
  /**
3779
3779
  * Disallows useless fragment elements.
3780
- * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
3780
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-useless-fragment
3781
3781
  */
3782
3782
  'react-x/jsx-no-useless-fragment'?: Linter.RuleEntry<ReactXJsxNoUselessFragment>;
3783
3783
  /**
@@ -4007,7 +4007,7 @@ interface RuleOptions {
4007
4007
  'react-x/refs'?: Linter.RuleEntry<[]>;
4008
4008
  /**
4009
4009
  * Validates and transforms React Client/Server Function definitions.
4010
- * @see https://eslint-react.xyz/docs/rules/function-definition
4010
+ * @see https://eslint-react.xyz/docs/rules/rsc-function-definition
4011
4011
  */
4012
4012
  'react-x/rsc-function-definition'?: Linter.RuleEntry<[]>;
4013
4013
  /**
@@ -4355,6 +4355,11 @@ interface RuleOptions {
4355
4355
  * @see https://react.dev/learn/you-might-not-need-an-effect#sharing-logic-between-event-handlers
4356
4356
  */
4357
4357
  'react-you-might-not-need-an-effect/no-event-handler'?: Linter.RuleEntry<[]>;
4358
+ /**
4359
+ * Disallow subscribing to an external store in an effect.
4360
+ * @see https://react.dev/learn/you-might-not-need-an-effect#subscribing-to-an-external-store
4361
+ */
4362
+ 'react-you-might-not-need-an-effect/no-external-store-subscription'?: Linter.RuleEntry<[]>;
4358
4363
  /**
4359
4364
  * Disallow initializing state in an effect.
4360
4365
  * @see https://tkdodo.eu/blog/avoiding-hydration-mismatches-with-use-sync-external-store
@@ -4366,7 +4371,7 @@ interface RuleOptions {
4366
4371
  */
4367
4372
  'react-you-might-not-need-an-effect/no-pass-data-to-parent'?: Linter.RuleEntry<[]>;
4368
4373
  /**
4369
- * Disallow passing live state to parent components in an effect.
4374
+ * Disallow passing live state to parents in an effect.
4370
4375
  * @see https://react.dev/learn/you-might-not-need-an-effect#notifying-parent-components-about-state-changes
4371
4376
  */
4372
4377
  'react-you-might-not-need-an-effect/no-pass-live-state-to-parent'?: Linter.RuleEntry<[]>;
@@ -8082,7 +8087,7 @@ interface RuleOptions {
8082
8087
  */
8083
8088
  'vitest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
8084
8089
  /**
8085
- * enforce using `expectTypeOf` instead of `expect(typeof ...)`
8090
+ * enforce using `expect(...).toBeTypeOf(...)` instead of `expect(typeof ...).toBe(...)`
8086
8091
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
8087
8092
  */
8088
8093
  'vitest/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/eslint-config",
3
- "version": "27.0.9",
3
+ "version": "28.0.0",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -92,10 +92,10 @@
92
92
  ],
93
93
  "dependencies": {
94
94
  "@e18e/eslint-plugin": "0.4.1",
95
- "@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
95
+ "@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
96
96
  "@eslint/compat": "2.0.5",
97
97
  "@eslint/js": "10.0.1",
98
- "@eslint/markdown": "8.0.1",
98
+ "@eslint/markdown": "8.0.2",
99
99
  "@html-eslint/eslint-plugin": "0.60.0",
100
100
  "@html-eslint/parser": "0.60.0",
101
101
  "@stylistic/eslint-plugin": "5.10.0",
@@ -105,7 +105,7 @@
105
105
  "@visulima/fs": "4.1.0",
106
106
  "@visulima/package": "^4.1.7",
107
107
  "@visulima/tsconfig": "^2.1.3",
108
- "@vitest/eslint-plugin": "1.6.16",
108
+ "@vitest/eslint-plugin": "1.6.19",
109
109
  "confusing-browser-globals": "^1.0.11",
110
110
  "eslint-config-flat-gitignore": "2.3.0",
111
111
  "eslint-flat-config-utils": "3.2.0",
@@ -145,16 +145,16 @@
145
145
  "yaml-eslint-parser": "2.0.0"
146
146
  },
147
147
  "peerDependencies": {
148
- "@eslint-react/eslint-plugin": "5.7.3",
148
+ "@eslint-react/eslint-plugin": "5.7.10",
149
149
  "@eslint/css": "1.2.0",
150
150
  "@ospm/eslint-plugin-react-unhookify": "^1.0.2",
151
151
  "@tanstack/eslint-plugin-query": "5.100.14",
152
152
  "@tanstack/eslint-plugin-router": "1.161.6",
153
153
  "@unocss/eslint-plugin": "66.6.8",
154
154
  "astro-eslint-parser": "1.4.0",
155
- "eslint": ">=9.38.0",
155
+ "eslint": ">=9.39.4",
156
156
  "eslint-plugin-astro": "1.7.0",
157
- "eslint-plugin-format": ">=0.1.0",
157
+ "eslint-plugin-format": ">=1.5.0",
158
158
  "eslint-plugin-jsx-a11y": "^6.10.2",
159
159
  "eslint-plugin-oxlint": "1.62.0",
160
160
  "eslint-plugin-playwright": "^0.16.0 || ^0.18.0 || ^2.0.0",
@@ -163,7 +163,7 @@
163
163
  "eslint-plugin-react-hooks": "7.1.1",
164
164
  "eslint-plugin-react-perf": "^3.3.3",
165
165
  "eslint-plugin-react-refresh": "0.5.2",
166
- "eslint-plugin-react-you-might-not-need-an-effect": "0.10.0",
166
+ "eslint-plugin-react-you-might-not-need-an-effect": "1.0.1",
167
167
  "eslint-plugin-storybook": "10.3.6",
168
168
  "eslint-plugin-tailwindcss": "3.18.3",
169
169
  "eslint-plugin-testing-library": "7.16.2",
@@ -171,7 +171,7 @@
171
171
  "eslint-plugin-validate-jsx-nesting": "^0.1.1",
172
172
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
173
173
  "eslint-plugin-zod": "3.12.0",
174
- "tailwind-csstree": "0.3.1"
174
+ "tailwind-csstree": "0.3.2"
175
175
  },
176
176
  "peerDependenciesMeta": {
177
177
  "@eslint-react/eslint-plugin": {