@ethang/eslint-config 25.20.1 → 25.20.2

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 CHANGED
@@ -31,9 +31,9 @@
31
31
  * 54 rules for **Astro**
32
32
  * `import astroConfig from "@ethang/eslint-config/config.astro.js";`
33
33
  * 54 rules from [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro)
34
- * 168 rules for **React**
34
+ * 169 rules for **React**
35
35
  * `import reactConfig from "@ethang/eslint-config/config.react.js";`
36
- * 139 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
36
+ * 140 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
37
37
  * 29 rules from [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks)
38
38
  * 18 rules for **Solid**
39
39
  * `import solidConfig from "@ethang/eslint-config/config.solid.js";`
package/config.react.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as r,b as e}from"./chunk-QHEC6VHK.js";import{defineConfig as o,globalIgnores as t}from"eslint/config";import n from"@eslint-react/eslint-plugin";import a from"eslint-plugin-react-hooks";var m=o(t(r),{files:["**/*.{jsx,tsx}"],languageOptions:e,settings:{react:{version:"19.2.7"}},plugins:{react:n,"react-hooks":a},rules:{"react/dom-no-dangerously-set-innerhtml":"error","react/dom-no-dangerously-set-innerhtml-with-children":"error","react/dom-no-find-dom-node":"error","react/dom-no-flush-sync":"error","react/dom-no-hydrate":"error","react/dom-no-missing-button-type":"error","react/dom-no-missing-iframe-sandbox":"error","react/dom-no-render":"error","react/dom-no-render-return-value":"error","react/dom-no-script-url":"error","react/dom-no-string-style-prop":"error","react/dom-no-unknown-property":"error","react/dom-no-unsafe-iframe-sandbox":"error","react/dom-no-unsafe-target-blank":"error","react/dom-no-use-form-state":"error","react/dom-no-void-elements-with-children":"error","react/error-boundaries":"error","react/exhaustive-deps":"error","react/globals":"error","react/immutability":"error","react/jsx-no-children-prop":"error","react/jsx-no-children-prop-with-children":"error","react/jsx-no-comment-textnodes":"error","react/jsx-no-key-after-spread":"error","react/jsx-no-leaked-dollar":"error","react/jsx-no-leaked-semicolon":"error","react/jsx-no-namespace":"error","react/jsx-no-useless-fragment":"error","react/naming-convention-context-name":"error","react/naming-convention-id-name":"error","react/naming-convention-ref-name":"error","react/no-access-state-in-setstate":"error","react/no-array-index-key":"error","react/no-children-count":"error","react/no-children-for-each":"error","react/no-children-map":"error","react/no-children-only":"error","react/no-children-to-array":"error","react/no-class-component":"error","react/no-clone-element":"error","react/no-component-will-mount":"error","react/no-component-will-receive-props":"error","react/no-component-will-update":"error","react/no-context-provider":"error","react/no-create-ref":"error","react/no-direct-mutation-state":"error","react/no-duplicate-key":"error","react/no-forward-ref":"error","react/no-implicit-children":"error","react/no-implicit-key":"error","react/no-implicit-ref":"error","react/no-leaked-conditional-rendering":"error","react/no-missing-component-display-name":"error","react/no-missing-context-display-name":"error","react/no-missing-key":"error","react/no-misused-capture-owner-stack":"error","react/no-nested-component-definitions":"error","react/no-nested-lazy-component-declarations":"error","react/no-set-state-in-component-did-mount":"error","react/no-set-state-in-component-did-update":"error","react/no-set-state-in-component-will-update":"error","react/no-unnecessary-use-prefix":"error","react/no-unsafe-component-will-mount":"error","react/no-unsafe-component-will-receive-props":"error","react/no-unsafe-component-will-update":"error","react/no-unstable-context-value":"error","react/no-unstable-default-props":"error","react/no-unused-class-component-members":"error","react/no-unused-props":"error","react/no-unused-state":"error","react/no-use-context":"error","react/purity":"error","react/refs":"error","react/rsc-function-definition":"error","react/rules-of-hooks":"error","react/set-state-in-effect":"error","react/set-state-in-render":"error","react/static-components":"error","react/unsupported-syntax":"error","react/use-memo":"error","react/use-state":"error","react/web-api-no-leaked-event-listener":"error","react/web-api-no-leaked-fetch":"error","react/web-api-no-leaked-interval":"error","react/web-api-no-leaked-resize-observer":"error","react/web-api-no-leaked-timeout":"error","react/x-error-boundaries":"error","react/x-exhaustive-deps":"error","react/x-globals":"error","react/x-immutability":"error","react/x-no-access-state-in-setstate":"error","react/x-no-array-index-key":"error","react/x-no-children-count":"error","react/x-no-children-for-each":"error","react/x-no-children-map":"error","react/x-no-children-only":"error","react/x-no-children-to-array":"error","react/x-no-class-component":"error","react/x-no-clone-element":"error","react/x-no-component-will-mount":"error","react/x-no-component-will-receive-props":"error","react/x-no-component-will-update":"error","react/x-no-context-provider":"error","react/x-no-create-ref":"error","react/x-no-direct-mutation-state":"error","react/x-no-duplicate-key":"error","react/x-no-forward-ref":"error","react/x-no-implicit-children":"error","react/x-no-implicit-key":"error","react/x-no-implicit-ref":"error","react/x-no-leaked-conditional-rendering":"error","react/x-no-missing-component-display-name":"error","react/x-no-missing-context-display-name":"error","react/x-no-missing-key":"error","react/x-no-misused-capture-owner-stack":"error","react/x-no-nested-component-definitions":"error","react/x-no-nested-lazy-component-declarations":"error","react/x-no-set-state-in-component-did-mount":"error","react/x-no-set-state-in-component-did-update":"error","react/x-no-set-state-in-component-will-update":"error","react/x-no-unnecessary-use-prefix":"error","react/x-no-unsafe-component-will-mount":"error","react/x-no-unsafe-component-will-receive-props":"error","react/x-no-unsafe-component-will-update":"error","react/x-no-unstable-context-value":"error","react/x-no-unstable-default-props":"error","react/x-no-unused-class-component-members":"error","react/x-no-unused-props":"error","react/x-no-unused-state":"error","react/x-no-use-context":"error","react/x-purity":"error","react/x-refs":"error","react/x-rules-of-hooks":"error","react/x-set-state-in-effect":"error","react/x-set-state-in-render":"error","react/x-static-components":"error","react/x-unsupported-syntax":"error","react/x-use-memo":"error","react/x-use-state":"error","react-hooks/capitalized-calls":"error","react-hooks/component-hook-factories":"error","react-hooks/config":"error","react-hooks/error-boundaries":"error","react-hooks/exhaustive-deps":"error","react-hooks/exhaustive-effect-dependencies":"error","react-hooks/fbt":"error","react-hooks/gating":"error","react-hooks/globals":"error","react-hooks/hooks":"error","react-hooks/immutability":"error","react-hooks/incompatible-library":"error","react-hooks/invariant":"error","react-hooks/memo-dependencies":"error","react-hooks/memoized-effect-dependencies":"error","react-hooks/no-deriving-state-in-effects":"error","react-hooks/preserve-manual-memoization":"error","react-hooks/purity":"error","react-hooks/refs":"error","react-hooks/rule-suppression":"error","react-hooks/rules-of-hooks":"error","react-hooks/set-state-in-effect":"error","react-hooks/set-state-in-render":"error","react-hooks/static-components":"error","react-hooks/syntax":"error","react-hooks/todo":"error","react-hooks/unsupported-syntax":"error","react-hooks/use-memo":"error","react-hooks/void-use-memo":"error"}});export{m as default};
1
+ import{a as r,b as e}from"./chunk-QHEC6VHK.js";import{defineConfig as o,globalIgnores as t}from"eslint/config";import n from"@eslint-react/eslint-plugin";import a from"eslint-plugin-react-hooks";var l=o(t(r),{files:["**/*.{jsx,tsx}"],languageOptions:e,settings:{react:{version:"19.2.7"}},plugins:{react:n,"react-hooks":a},rules:{"react/dom-no-dangerously-set-innerhtml":"error","react/dom-no-dangerously-set-innerhtml-with-children":"error","react/dom-no-find-dom-node":"error","react/dom-no-flush-sync":"error","react/dom-no-hydrate":"error","react/dom-no-missing-button-type":"error","react/dom-no-missing-iframe-sandbox":"error","react/dom-no-render":"error","react/dom-no-render-return-value":"error","react/dom-no-script-url":"error","react/dom-no-string-style-prop":"error","react/dom-no-unknown-property":"error","react/dom-no-unsafe-iframe-sandbox":"error","react/dom-no-unsafe-target-blank":"error","react/dom-no-use-form-state":"error","react/dom-no-void-elements-with-children":"error","react/error-boundaries":"error","react/exhaustive-deps":"error","react/globals":"error","react/immutability":"error","react/jsx-no-children-prop":"error","react/jsx-no-children-prop-with-children":"error","react/jsx-no-comment-textnodes":"error","react/jsx-no-key-after-spread":"error","react/jsx-no-leaked-dollar":"error","react/jsx-no-leaked-semicolon":"error","react/jsx-no-namespace":"error","react/jsx-no-useless-fragment":"error","react/naming-convention-context-name":"error","react/naming-convention-id-name":"error","react/naming-convention-ref-name":"error","react/no-access-state-in-setstate":"error","react/no-array-index-key":"error","react/no-children-count":"error","react/no-children-for-each":"error","react/no-children-map":"error","react/no-children-only":"error","react/no-children-to-array":"error","react/no-class-component":"error","react/no-clone-element":"error","react/no-component-will-mount":"error","react/no-component-will-receive-props":"error","react/no-component-will-update":"error","react/no-context-provider":"error","react/no-create-ref":"error","react/no-direct-mutation-state":"error","react/no-duplicate-key":"error","react/no-forward-ref":"error","react/no-implicit-children":"error","react/no-implicit-key":"error","react/no-implicit-ref":"error","react/no-leaked-conditional-rendering":"error","react/no-missing-component-display-name":"error","react/no-missing-context-display-name":"error","react/no-missing-key":"error","react/no-misused-capture-owner-stack":"error","react/no-nested-component-definitions":"error","react/no-nested-lazy-component-declarations":"error","react/no-set-state-in-component-did-mount":"error","react/no-set-state-in-component-did-update":"error","react/no-set-state-in-component-will-update":"error","react/no-unnecessary-use-prefix":"error","react/no-unsafe-component-will-mount":"error","react/no-unsafe-component-will-receive-props":"error","react/no-unsafe-component-will-update":"error","react/no-unstable-context-value":"error","react/no-unstable-default-props":"error","react/no-unused-class-component-members":"error","react/no-unused-props":"error","react/no-unused-state":"error","react/no-use-context":"error","react/purity":"error","react/refs":"error","react/rsc-function-definition":"error","react/rules-of-hooks":"error","react/set-state-in-effect":"error","react/set-state-in-render":"error","react/static-components":"error","react/unsupported-syntax":"error","react/use-memo":"error","react/use-state":"error","react/web-api-no-leaked-event-listener":"error","react/web-api-no-leaked-fetch":"error","react/web-api-no-leaked-intersection-observer":"error","react/web-api-no-leaked-interval":"error","react/web-api-no-leaked-resize-observer":"error","react/web-api-no-leaked-timeout":"error","react/x-error-boundaries":"error","react/x-exhaustive-deps":"error","react/x-globals":"error","react/x-immutability":"error","react/x-no-access-state-in-setstate":"error","react/x-no-array-index-key":"error","react/x-no-children-count":"error","react/x-no-children-for-each":"error","react/x-no-children-map":"error","react/x-no-children-only":"error","react/x-no-children-to-array":"error","react/x-no-class-component":"error","react/x-no-clone-element":"error","react/x-no-component-will-mount":"error","react/x-no-component-will-receive-props":"error","react/x-no-component-will-update":"error","react/x-no-context-provider":"error","react/x-no-create-ref":"error","react/x-no-direct-mutation-state":"error","react/x-no-duplicate-key":"error","react/x-no-forward-ref":"error","react/x-no-implicit-children":"error","react/x-no-implicit-key":"error","react/x-no-implicit-ref":"error","react/x-no-leaked-conditional-rendering":"error","react/x-no-missing-component-display-name":"error","react/x-no-missing-context-display-name":"error","react/x-no-missing-key":"error","react/x-no-misused-capture-owner-stack":"error","react/x-no-nested-component-definitions":"error","react/x-no-nested-lazy-component-declarations":"error","react/x-no-set-state-in-component-did-mount":"error","react/x-no-set-state-in-component-did-update":"error","react/x-no-set-state-in-component-will-update":"error","react/x-no-unnecessary-use-prefix":"error","react/x-no-unsafe-component-will-mount":"error","react/x-no-unsafe-component-will-receive-props":"error","react/x-no-unsafe-component-will-update":"error","react/x-no-unstable-context-value":"error","react/x-no-unstable-default-props":"error","react/x-no-unused-class-component-members":"error","react/x-no-unused-props":"error","react/x-no-unused-state":"error","react/x-no-use-context":"error","react/x-purity":"error","react/x-refs":"error","react/x-rules-of-hooks":"error","react/x-set-state-in-effect":"error","react/x-set-state-in-render":"error","react/x-static-components":"error","react/x-unsupported-syntax":"error","react/x-use-memo":"error","react/x-use-state":"error","react-hooks/capitalized-calls":"error","react-hooks/component-hook-factories":"error","react-hooks/config":"error","react-hooks/error-boundaries":"error","react-hooks/exhaustive-deps":"error","react-hooks/exhaustive-effect-dependencies":"error","react-hooks/fbt":"error","react-hooks/gating":"error","react-hooks/globals":"error","react-hooks/hooks":"error","react-hooks/immutability":"error","react-hooks/incompatible-library":"error","react-hooks/invariant":"error","react-hooks/memo-dependencies":"error","react-hooks/memoized-effect-dependencies":"error","react-hooks/no-deriving-state-in-effects":"error","react-hooks/preserve-manual-memoization":"error","react-hooks/purity":"error","react-hooks/refs":"error","react-hooks/rule-suppression":"error","react-hooks/rules-of-hooks":"error","react-hooks/set-state-in-effect":"error","react-hooks/set-state-in-render":"error","react-hooks/static-components":"error","react-hooks/syntax":"error","react-hooks/todo":"error","react-hooks/unsupported-syntax":"error","react-hooks/use-memo":"error","react-hooks/void-use-memo":"error"}});export{l as default};
2
2
  //# sourceMappingURL=config.react.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/config.react.js"],"sourcesContent":["// @ts-nocheck\nimport { defineConfig, globalIgnores } from \"eslint/config\";\nimport { ignores, languageOptions } from \"./constants.js\";\nimport react from \"@eslint-react/eslint-plugin\";\nimport reactHooks from \"eslint-plugin-react-hooks\";\n\nexport default defineConfig(\n globalIgnores(ignores),\n{\n files: [\"**/*.{jsx,tsx}\"],\nlanguageOptions,\nsettings: {\n \"react\":{\"version\":\"19.2.7\"}\n},\n plugins: {\n \"react\": react,\"react-hooks\": reactHooks,\n },\n rules: {\n \"react/dom-no-dangerously-set-innerhtml\": \"error\",\n \"react/dom-no-dangerously-set-innerhtml-with-children\": \"error\",\n \"react/dom-no-find-dom-node\": \"error\",\n \"react/dom-no-flush-sync\": \"error\",\n \"react/dom-no-hydrate\": \"error\",\n \"react/dom-no-missing-button-type\": \"error\",\n \"react/dom-no-missing-iframe-sandbox\": \"error\",\n \"react/dom-no-render\": \"error\",\n \"react/dom-no-render-return-value\": \"error\",\n \"react/dom-no-script-url\": \"error\",\n \"react/dom-no-string-style-prop\": \"error\",\n \"react/dom-no-unknown-property\": \"error\",\n \"react/dom-no-unsafe-iframe-sandbox\": \"error\",\n \"react/dom-no-unsafe-target-blank\": \"error\",\n \"react/dom-no-use-form-state\": \"error\",\n \"react/dom-no-void-elements-with-children\": \"error\",\n \"react/error-boundaries\": \"error\",\n \"react/exhaustive-deps\": \"error\",\n \"react/globals\": \"error\",\n \"react/immutability\": \"error\",\n \"react/jsx-no-children-prop\": \"error\",\n \"react/jsx-no-children-prop-with-children\": \"error\",\n \"react/jsx-no-comment-textnodes\": \"error\",\n \"react/jsx-no-key-after-spread\": \"error\",\n \"react/jsx-no-leaked-dollar\": \"error\",\n \"react/jsx-no-leaked-semicolon\": \"error\",\n \"react/jsx-no-namespace\": \"error\",\n \"react/jsx-no-useless-fragment\": \"error\",\n \"react/naming-convention-context-name\": \"error\",\n \"react/naming-convention-id-name\": \"error\",\n \"react/naming-convention-ref-name\": \"error\",\n \"react/no-access-state-in-setstate\": \"error\",\n \"react/no-array-index-key\": \"error\",\n \"react/no-children-count\": \"error\",\n \"react/no-children-for-each\": \"error\",\n \"react/no-children-map\": \"error\",\n \"react/no-children-only\": \"error\",\n \"react/no-children-to-array\": \"error\",\n \"react/no-class-component\": \"error\",\n \"react/no-clone-element\": \"error\",\n \"react/no-component-will-mount\": \"error\",\n \"react/no-component-will-receive-props\": \"error\",\n \"react/no-component-will-update\": \"error\",\n \"react/no-context-provider\": \"error\",\n \"react/no-create-ref\": \"error\",\n \"react/no-direct-mutation-state\": \"error\",\n \"react/no-duplicate-key\": \"error\",\n \"react/no-forward-ref\": \"error\",\n \"react/no-implicit-children\": \"error\",\n \"react/no-implicit-key\": \"error\",\n \"react/no-implicit-ref\": \"error\",\n \"react/no-leaked-conditional-rendering\": \"error\",\n \"react/no-missing-component-display-name\": \"error\",\n \"react/no-missing-context-display-name\": \"error\",\n \"react/no-missing-key\": \"error\",\n \"react/no-misused-capture-owner-stack\": \"error\",\n \"react/no-nested-component-definitions\": \"error\",\n \"react/no-nested-lazy-component-declarations\": \"error\",\n \"react/no-set-state-in-component-did-mount\": \"error\",\n \"react/no-set-state-in-component-did-update\": \"error\",\n \"react/no-set-state-in-component-will-update\": \"error\",\n \"react/no-unnecessary-use-prefix\": \"error\",\n \"react/no-unsafe-component-will-mount\": \"error\",\n \"react/no-unsafe-component-will-receive-props\": \"error\",\n \"react/no-unsafe-component-will-update\": \"error\",\n \"react/no-unstable-context-value\": \"error\",\n \"react/no-unstable-default-props\": \"error\",\n \"react/no-unused-class-component-members\": \"error\",\n \"react/no-unused-props\": \"error\",\n \"react/no-unused-state\": \"error\",\n \"react/no-use-context\": \"error\",\n \"react/purity\": \"error\",\n \"react/refs\": \"error\",\n \"react/rsc-function-definition\": \"error\",\n \"react/rules-of-hooks\": \"error\",\n \"react/set-state-in-effect\": \"error\",\n \"react/set-state-in-render\": \"error\",\n \"react/static-components\": \"error\",\n \"react/unsupported-syntax\": \"error\",\n \"react/use-memo\": \"error\",\n \"react/use-state\": \"error\",\n \"react/web-api-no-leaked-event-listener\": \"error\",\n \"react/web-api-no-leaked-fetch\": \"error\",\n \"react/web-api-no-leaked-interval\": \"error\",\n \"react/web-api-no-leaked-resize-observer\": \"error\",\n \"react/web-api-no-leaked-timeout\": \"error\",\n \"react/x-error-boundaries\": \"error\",\n \"react/x-exhaustive-deps\": \"error\",\n \"react/x-globals\": \"error\",\n \"react/x-immutability\": \"error\",\n \"react/x-no-access-state-in-setstate\": \"error\",\n \"react/x-no-array-index-key\": \"error\",\n \"react/x-no-children-count\": \"error\",\n \"react/x-no-children-for-each\": \"error\",\n \"react/x-no-children-map\": \"error\",\n \"react/x-no-children-only\": \"error\",\n \"react/x-no-children-to-array\": \"error\",\n \"react/x-no-class-component\": \"error\",\n \"react/x-no-clone-element\": \"error\",\n \"react/x-no-component-will-mount\": \"error\",\n \"react/x-no-component-will-receive-props\": \"error\",\n \"react/x-no-component-will-update\": \"error\",\n \"react/x-no-context-provider\": \"error\",\n \"react/x-no-create-ref\": \"error\",\n \"react/x-no-direct-mutation-state\": \"error\",\n \"react/x-no-duplicate-key\": \"error\",\n \"react/x-no-forward-ref\": \"error\",\n \"react/x-no-implicit-children\": \"error\",\n \"react/x-no-implicit-key\": \"error\",\n \"react/x-no-implicit-ref\": \"error\",\n \"react/x-no-leaked-conditional-rendering\": \"error\",\n \"react/x-no-missing-component-display-name\": \"error\",\n \"react/x-no-missing-context-display-name\": \"error\",\n \"react/x-no-missing-key\": \"error\",\n \"react/x-no-misused-capture-owner-stack\": \"error\",\n \"react/x-no-nested-component-definitions\": \"error\",\n \"react/x-no-nested-lazy-component-declarations\": \"error\",\n \"react/x-no-set-state-in-component-did-mount\": \"error\",\n \"react/x-no-set-state-in-component-did-update\": \"error\",\n \"react/x-no-set-state-in-component-will-update\": \"error\",\n \"react/x-no-unnecessary-use-prefix\": \"error\",\n \"react/x-no-unsafe-component-will-mount\": \"error\",\n \"react/x-no-unsafe-component-will-receive-props\": \"error\",\n \"react/x-no-unsafe-component-will-update\": \"error\",\n \"react/x-no-unstable-context-value\": \"error\",\n \"react/x-no-unstable-default-props\": \"error\",\n \"react/x-no-unused-class-component-members\": \"error\",\n \"react/x-no-unused-props\": \"error\",\n \"react/x-no-unused-state\": \"error\",\n \"react/x-no-use-context\": \"error\",\n \"react/x-purity\": \"error\",\n \"react/x-refs\": \"error\",\n \"react/x-rules-of-hooks\": \"error\",\n \"react/x-set-state-in-effect\": \"error\",\n \"react/x-set-state-in-render\": \"error\",\n \"react/x-static-components\": \"error\",\n \"react/x-unsupported-syntax\": \"error\",\n \"react/x-use-memo\": \"error\",\n \"react/x-use-state\": \"error\",\n \"react-hooks/capitalized-calls\": \"error\",\n \"react-hooks/component-hook-factories\": \"error\",\n \"react-hooks/config\": \"error\",\n \"react-hooks/error-boundaries\": \"error\",\n \"react-hooks/exhaustive-deps\": \"error\",\n \"react-hooks/exhaustive-effect-dependencies\": \"error\",\n \"react-hooks/fbt\": \"error\",\n \"react-hooks/gating\": \"error\",\n \"react-hooks/globals\": \"error\",\n \"react-hooks/hooks\": \"error\",\n \"react-hooks/immutability\": \"error\",\n \"react-hooks/incompatible-library\": \"error\",\n \"react-hooks/invariant\": \"error\",\n \"react-hooks/memo-dependencies\": \"error\",\n \"react-hooks/memoized-effect-dependencies\": \"error\",\n \"react-hooks/no-deriving-state-in-effects\": \"error\",\n \"react-hooks/preserve-manual-memoization\": \"error\",\n \"react-hooks/purity\": \"error\",\n \"react-hooks/refs\": \"error\",\n \"react-hooks/rule-suppression\": \"error\",\n \"react-hooks/rules-of-hooks\": \"error\",\n \"react-hooks/set-state-in-effect\": \"error\",\n \"react-hooks/set-state-in-render\": \"error\",\n \"react-hooks/static-components\": \"error\",\n \"react-hooks/syntax\": \"error\",\n \"react-hooks/todo\": \"error\",\n \"react-hooks/unsupported-syntax\": \"error\",\n \"react-hooks/use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tB,+BAAgC,QAChC,8BAA+B,QAC/B,6CAA8C,QAC9C,kBAAmB,QACnB,qBAAsB,QACtB,sBAAuB,QACvB,oBAAqB,QACrB,2BAA4B,QAC5B,mCAAoC,QACpC,wBAAyB,QACzB,gCAAiC,QACjC,2CAA4C,QAC5C,2CAA4C,QAC5C,0CAA2C,QAC3C,qBAAsB,QACtB,mBAAoB,QACpB,+BAAgC,QAChC,6BAA8B,QAC9B,kCAAmC,QACnC,kCAAmC,QACnC,gCAAiC,QACjC,qBAAsB,QACtB,mBAAoB,QACpB,iCAAkC,QAClC,uBAAwB,QACxB,4BAA6B,OAC3B,CAEF,CACF","names":["defineConfig","globalIgnores","react","reactHooks","config_react_default","defineConfig","globalIgnores","ignores","languageOptions"]}
1
+ {"version":3,"sources":["../src/config.react.js"],"sourcesContent":["// @ts-nocheck\nimport { defineConfig, globalIgnores } from \"eslint/config\";\nimport { ignores, languageOptions } from \"./constants.js\";\nimport react from \"@eslint-react/eslint-plugin\";\nimport reactHooks from \"eslint-plugin-react-hooks\";\n\nexport default defineConfig(\n globalIgnores(ignores),\n{\n files: [\"**/*.{jsx,tsx}\"],\nlanguageOptions,\nsettings: {\n \"react\":{\"version\":\"19.2.7\"}\n},\n plugins: {\n \"react\": react,\"react-hooks\": reactHooks,\n },\n rules: {\n \"react/dom-no-dangerously-set-innerhtml\": \"error\",\n \"react/dom-no-dangerously-set-innerhtml-with-children\": \"error\",\n \"react/dom-no-find-dom-node\": \"error\",\n \"react/dom-no-flush-sync\": \"error\",\n \"react/dom-no-hydrate\": \"error\",\n \"react/dom-no-missing-button-type\": \"error\",\n \"react/dom-no-missing-iframe-sandbox\": \"error\",\n \"react/dom-no-render\": \"error\",\n \"react/dom-no-render-return-value\": \"error\",\n \"react/dom-no-script-url\": \"error\",\n \"react/dom-no-string-style-prop\": \"error\",\n \"react/dom-no-unknown-property\": \"error\",\n \"react/dom-no-unsafe-iframe-sandbox\": \"error\",\n \"react/dom-no-unsafe-target-blank\": \"error\",\n \"react/dom-no-use-form-state\": \"error\",\n \"react/dom-no-void-elements-with-children\": \"error\",\n \"react/error-boundaries\": \"error\",\n \"react/exhaustive-deps\": \"error\",\n \"react/globals\": \"error\",\n \"react/immutability\": \"error\",\n \"react/jsx-no-children-prop\": \"error\",\n \"react/jsx-no-children-prop-with-children\": \"error\",\n \"react/jsx-no-comment-textnodes\": \"error\",\n \"react/jsx-no-key-after-spread\": \"error\",\n \"react/jsx-no-leaked-dollar\": \"error\",\n \"react/jsx-no-leaked-semicolon\": \"error\",\n \"react/jsx-no-namespace\": \"error\",\n \"react/jsx-no-useless-fragment\": \"error\",\n \"react/naming-convention-context-name\": \"error\",\n \"react/naming-convention-id-name\": \"error\",\n \"react/naming-convention-ref-name\": \"error\",\n \"react/no-access-state-in-setstate\": \"error\",\n \"react/no-array-index-key\": \"error\",\n \"react/no-children-count\": \"error\",\n \"react/no-children-for-each\": \"error\",\n \"react/no-children-map\": \"error\",\n \"react/no-children-only\": \"error\",\n \"react/no-children-to-array\": \"error\",\n \"react/no-class-component\": \"error\",\n \"react/no-clone-element\": \"error\",\n \"react/no-component-will-mount\": \"error\",\n \"react/no-component-will-receive-props\": \"error\",\n \"react/no-component-will-update\": \"error\",\n \"react/no-context-provider\": \"error\",\n \"react/no-create-ref\": \"error\",\n \"react/no-direct-mutation-state\": \"error\",\n \"react/no-duplicate-key\": \"error\",\n \"react/no-forward-ref\": \"error\",\n \"react/no-implicit-children\": \"error\",\n \"react/no-implicit-key\": \"error\",\n \"react/no-implicit-ref\": \"error\",\n \"react/no-leaked-conditional-rendering\": \"error\",\n \"react/no-missing-component-display-name\": \"error\",\n \"react/no-missing-context-display-name\": \"error\",\n \"react/no-missing-key\": \"error\",\n \"react/no-misused-capture-owner-stack\": \"error\",\n \"react/no-nested-component-definitions\": \"error\",\n \"react/no-nested-lazy-component-declarations\": \"error\",\n \"react/no-set-state-in-component-did-mount\": \"error\",\n \"react/no-set-state-in-component-did-update\": \"error\",\n \"react/no-set-state-in-component-will-update\": \"error\",\n \"react/no-unnecessary-use-prefix\": \"error\",\n \"react/no-unsafe-component-will-mount\": \"error\",\n \"react/no-unsafe-component-will-receive-props\": \"error\",\n \"react/no-unsafe-component-will-update\": \"error\",\n \"react/no-unstable-context-value\": \"error\",\n \"react/no-unstable-default-props\": \"error\",\n \"react/no-unused-class-component-members\": \"error\",\n \"react/no-unused-props\": \"error\",\n \"react/no-unused-state\": \"error\",\n \"react/no-use-context\": \"error\",\n \"react/purity\": \"error\",\n \"react/refs\": \"error\",\n \"react/rsc-function-definition\": \"error\",\n \"react/rules-of-hooks\": \"error\",\n \"react/set-state-in-effect\": \"error\",\n \"react/set-state-in-render\": \"error\",\n \"react/static-components\": \"error\",\n \"react/unsupported-syntax\": \"error\",\n \"react/use-memo\": \"error\",\n \"react/use-state\": \"error\",\n \"react/web-api-no-leaked-event-listener\": \"error\",\n \"react/web-api-no-leaked-fetch\": \"error\",\n \"react/web-api-no-leaked-intersection-observer\": \"error\",\n \"react/web-api-no-leaked-interval\": \"error\",\n \"react/web-api-no-leaked-resize-observer\": \"error\",\n \"react/web-api-no-leaked-timeout\": \"error\",\n \"react/x-error-boundaries\": \"error\",\n \"react/x-exhaustive-deps\": \"error\",\n \"react/x-globals\": \"error\",\n \"react/x-immutability\": \"error\",\n \"react/x-no-access-state-in-setstate\": \"error\",\n \"react/x-no-array-index-key\": \"error\",\n \"react/x-no-children-count\": \"error\",\n \"react/x-no-children-for-each\": \"error\",\n \"react/x-no-children-map\": \"error\",\n \"react/x-no-children-only\": \"error\",\n \"react/x-no-children-to-array\": \"error\",\n \"react/x-no-class-component\": \"error\",\n \"react/x-no-clone-element\": \"error\",\n \"react/x-no-component-will-mount\": \"error\",\n \"react/x-no-component-will-receive-props\": \"error\",\n \"react/x-no-component-will-update\": \"error\",\n \"react/x-no-context-provider\": \"error\",\n \"react/x-no-create-ref\": \"error\",\n \"react/x-no-direct-mutation-state\": \"error\",\n \"react/x-no-duplicate-key\": \"error\",\n \"react/x-no-forward-ref\": \"error\",\n \"react/x-no-implicit-children\": \"error\",\n \"react/x-no-implicit-key\": \"error\",\n \"react/x-no-implicit-ref\": \"error\",\n \"react/x-no-leaked-conditional-rendering\": \"error\",\n \"react/x-no-missing-component-display-name\": \"error\",\n \"react/x-no-missing-context-display-name\": \"error\",\n \"react/x-no-missing-key\": \"error\",\n \"react/x-no-misused-capture-owner-stack\": \"error\",\n \"react/x-no-nested-component-definitions\": \"error\",\n \"react/x-no-nested-lazy-component-declarations\": \"error\",\n \"react/x-no-set-state-in-component-did-mount\": \"error\",\n \"react/x-no-set-state-in-component-did-update\": \"error\",\n \"react/x-no-set-state-in-component-will-update\": \"error\",\n \"react/x-no-unnecessary-use-prefix\": \"error\",\n \"react/x-no-unsafe-component-will-mount\": \"error\",\n \"react/x-no-unsafe-component-will-receive-props\": \"error\",\n \"react/x-no-unsafe-component-will-update\": \"error\",\n \"react/x-no-unstable-context-value\": \"error\",\n \"react/x-no-unstable-default-props\": \"error\",\n \"react/x-no-unused-class-component-members\": \"error\",\n \"react/x-no-unused-props\": \"error\",\n \"react/x-no-unused-state\": \"error\",\n \"react/x-no-use-context\": \"error\",\n \"react/x-purity\": \"error\",\n \"react/x-refs\": \"error\",\n \"react/x-rules-of-hooks\": \"error\",\n \"react/x-set-state-in-effect\": \"error\",\n \"react/x-set-state-in-render\": \"error\",\n \"react/x-static-components\": \"error\",\n \"react/x-unsupported-syntax\": \"error\",\n \"react/x-use-memo\": \"error\",\n \"react/x-use-state\": \"error\",\n \"react-hooks/capitalized-calls\": \"error\",\n \"react-hooks/component-hook-factories\": \"error\",\n \"react-hooks/config\": \"error\",\n \"react-hooks/error-boundaries\": \"error\",\n \"react-hooks/exhaustive-deps\": \"error\",\n \"react-hooks/exhaustive-effect-dependencies\": \"error\",\n \"react-hooks/fbt\": \"error\",\n \"react-hooks/gating\": \"error\",\n \"react-hooks/globals\": \"error\",\n \"react-hooks/hooks\": \"error\",\n \"react-hooks/immutability\": \"error\",\n \"react-hooks/incompatible-library\": \"error\",\n \"react-hooks/invariant\": \"error\",\n \"react-hooks/memo-dependencies\": \"error\",\n \"react-hooks/memoized-effect-dependencies\": \"error\",\n \"react-hooks/no-deriving-state-in-effects\": \"error\",\n \"react-hooks/preserve-manual-memoization\": \"error\",\n \"react-hooks/purity\": \"error\",\n \"react-hooks/refs\": \"error\",\n \"react-hooks/rule-suppression\": \"error\",\n \"react-hooks/rules-of-hooks\": \"error\",\n \"react-hooks/set-state-in-effect\": \"error\",\n \"react-hooks/set-state-in-render\": \"error\",\n \"react-hooks/static-components\": \"error\",\n \"react-hooks/syntax\": \"error\",\n \"react-hooks/todo\": \"error\",\n \"react-hooks/unsupported-syntax\": \"error\",\n \"react-hooks/use-memo\": \"error\",\n \"react-hooks/void-use-memo\": \"error\"\n },\n \n }\n);\n"],"mappings":"+CACA,OAAS,gBAAAA,EAAc,iBAAAC,MAAqB,gBAE5C,OAAOC,MAAW,8BAClB,OAAOC,MAAgB,4BAEvB,IAAOC,EAAQC,EACbC,EAAcC,CAAO,EACvB,CACI,MAAO,CAAC,gBAAgB,EAC5B,gBAAAC,EACA,SAAU,CACR,MAAQ,CAAC,QAAU,QAAQ,CAC7B,EACI,QAAS,CACP,MAASN,EAAM,cAAeC,CAChC,EACA,MAAO,CACL,yCAA0C,QAC9C,uDAAwD,QACxD,6BAA8B,QAC9B,0BAA2B,QAC3B,uBAAwB,QACxB,mCAAoC,QACpC,sCAAuC,QACvC,sBAAuB,QACvB,mCAAoC,QACpC,0BAA2B,QAC3B,iCAAkC,QAClC,gCAAiC,QACjC,qCAAsC,QACtC,mCAAoC,QACpC,8BAA+B,QAC/B,2CAA4C,QAC5C,yBAA0B,QAC1B,wBAAyB,QACzB,gBAAiB,QACjB,qBAAsB,QACtB,6BAA8B,QAC9B,2CAA4C,QAC5C,iCAAkC,QAClC,gCAAiC,QACjC,6BAA8B,QAC9B,gCAAiC,QACjC,yBAA0B,QAC1B,gCAAiC,QACjC,uCAAwC,QACxC,kCAA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,4CAA6C,QAC7C,0CAA2C,QAC3C,yBAA0B,QAC1B,yCAA0C,QAC1C,0CAA2C,QAC3C,gDAAiD,QACjD,8CAA+C,QAC/C,+CAAgD,QAChD,gDAAiD,QACjD,oCAAqC,QACrC,yCAA0C,QAC1C,iDAAkD,QAClD,0CAA2C,QAC3C,oCAAqC,QACrC,oCAAqC,QACrC,4CAA6C,QAC7C,0BAA2B,QAC3B,0BAA2B,QAC3B,yBAA0B,QAC1B,iBAAkB,QAClB,eAAgB,QAChB,yBAA0B,QAC1B,8BAA+B,QAC/B,8BAA+B,QAC/B,4BAA6B,QAC7B,6BAA8B,QAC9B,mBAAoB,QACpB,oBAAqB,QACrB,gCAAiC,QACjC,uCAAwC,QACxC,qBAAsB,QACtB,+BAAgC,QAChC,8BAA+B,QAC/B,6CAA8C,QAC9C,kBAAmB,QACnB,qBAAsB,QACtB,sBAAuB,QACvB,oBAAqB,QACrB,2BAA4B,QAC5B,mCAAoC,QACpC,wBAAyB,QACzB,gCAAiC,QACjC,2CAA4C,QAC5C,2CAA4C,QAC5C,0CAA2C,QAC3C,qBAAsB,QACtB,mBAAoB,QACpB,+BAAgC,QAChC,6BAA8B,QAC9B,kCAAmC,QACnC,kCAAmC,QACnC,gCAAiC,QACjC,qBAAsB,QACtB,mBAAoB,QACpB,iCAAkC,QAClC,uBAAwB,QACxB,4BAA6B,OAC3B,CAEF,CACF","names":["defineConfig","globalIgnores","react","reactHooks","config_react_default","defineConfig","globalIgnores","ignores","languageOptions"]}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "@angular-eslint/eslint-plugin": "^22.0.0",
9
9
  "@angular-eslint/eslint-plugin-template": "^22.0.0",
10
10
  "@angular-eslint/template-parser": "^22.0.0",
11
- "@eslint-react/eslint-plugin": "^5.8.18",
11
+ "@eslint-react/eslint-plugin": "^5.9.0",
12
12
  "@eslint/compat": "^2.1.0",
13
13
  "@eslint/css": "1.3.0",
14
14
  "@eslint/js": "^10.0.1",
@@ -20,7 +20,7 @@
20
20
  "@typescript-eslint/parser": "^8.61.0",
21
21
  "@vitest/eslint-plugin": "^1.6.20",
22
22
  "angular-eslint": "22.0.0",
23
- "eslint": "^10.4.1",
23
+ "eslint": "^10.5.0",
24
24
  "eslint-plugin-astro": "^1.7.0",
25
25
  "eslint-plugin-compat": "^7.0.2",
26
26
  "eslint-plugin-jsx-a11y": "^6.10.2",
@@ -44,10 +44,12 @@
44
44
  "@types/lodash": "^4.17.24",
45
45
  "@types/node": "^25.9.3",
46
46
  "@vitest/coverage-v8": "^4.1.8",
47
- "baseline-browser-mapping": "^2.10.36",
47
+ "baseline-browser-mapping": "^2.10.37",
48
48
  "browserslist-config-baseline": "^0.5.0",
49
49
  "lodash": "^4.18.1",
50
- "tailwindcss": "^4.3.0",
50
+ "tailwindcss": "^4.3.1",
51
+ "tsc-prog": "^2.3.0",
52
+ "tsup": "^8.5.1",
51
53
  "typescript": "^6.0.3",
52
54
  "vite": "^8.0.16",
53
55
  "vitest": "^4.1.8",
@@ -69,5 +71,5 @@
69
71
  "test:watch": "vitest --coverage"
70
72
  },
71
73
  "type": "module",
72
- "version": "25.20.1"
74
+ "version": "25.20.2"
73
75
  }