@ethang/eslint-config 21.8.13 → 21.8.14

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
@@ -32,11 +32,10 @@
32
32
  * 52 rules for **Astro**
33
33
  * `import astroConfig from "@ethang/eslint-config/config.astro.js";`
34
34
  * 52 rules from [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro)
35
- * 99 rules for **React**
35
+ * 98 rules for **React**
36
36
  * `import reactConfig from "@ethang/eslint-config/config.react.js";`
37
37
  * 96 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
38
38
  * 2 rules from [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks)
39
- * 1 rules from [eslint-plugin-react-compiler](https://github.com/facebook/react/tree/main/compiler/packages/eslint-plugin-react-compiler)
40
39
  * 18 rules for **Solid**
41
40
  * `import solidConfig from "@ethang/eslint-config/config.solid.js";`
42
41
  * 18 rules from [eslint-plugin-solid](https://github.com/solidjs-community/eslint-plugin-solid)
package/config.react.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as r,b as e}from"./chunk-WK3YS7OG.js";import o from"@eslint-react/eslint-plugin";import t from"eslint-plugin-react-compiler";import n from"eslint-plugin-react-hooks";import a from"typescript-eslint";var l=a.config({files:["**/*.{jsx,tsx}"],ignores:r,languageOptions:e,settings:{react:{version:"19.1.0"}},plugins:{react:o,"react-hooks":n,"react-compiler":t},rules:{"react/avoid-shorthand-boolean":"off","react/avoid-shorthand-fragment":"off","react/debug/class-component":"off","react/debug/function-component":"off","react/debug/hook":"off","react/debug/is-from-react":"off","react/debug/jsx":"off","react/debug/react-hooks":"off","react/dom/no-children-in-void-dom-elements":"error","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-namespace":"error","react/dom/no-render":"error","react/dom/no-render-return-value":"error","react/dom/no-script-url":"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/ensure-forward-ref-using-ref":"error","react/hooks-extra/ensure-custom-hooks-using-other-hooks":"error","react/hooks-extra/ensure-use-callback-has-non-empty-deps":"error","react/hooks-extra/ensure-use-memo-has-non-empty-deps":"error","react/hooks-extra/no-direct-set-state-in-use-effect":"error","react/hooks-extra/no-direct-set-state-in-use-layout-effect":"error","react/hooks-extra/no-redundant-custom-hook":"error","react/hooks-extra/no-unnecessary-use-callback":"error","react/hooks-extra/no-unnecessary-use-memo":"error","react/hooks-extra/no-unnecessary-use-prefix":"error","react/hooks-extra/no-useless-custom-hooks":"error","react/hooks-extra/prefer-use-state-lazy-initialization":"error","react/jsx-no-duplicate-props":"error","react/jsx-no-undef":"error","react/jsx-uses-react":"error","react/jsx-uses-vars":"error","react/naming-convention/component-name":"error","react/naming-convention/context-name":"error","react/naming-convention/filename":["error",{rule:"kebab-case"}],"react/naming-convention/filename-extension":"error","react/naming-convention/use-state":"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-prop":"error","react/no-children-to-array":"error","react/no-class-component":"error","react/no-clone-element":"error","react/no-comment-textnodes":"error","react/no-complex-conditional-rendering":"error","react/no-complicated-conditional-rendering":"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-default-props":"error","react/no-direct-mutation-state":"error","react/no-duplicate-jsx-props":"error","react/no-duplicate-key":"error","react/no-forward-ref":"error","react/no-implicit-key":"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-components":"error","react/no-nested-lazy-component-declarations":"error","react/no-prop-types":"error","react/no-redundant-should-component-update":"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-string-refs":"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-state":"error","react/no-use-context":"error","react/no-useless-forward-ref":"error","react/no-useless-fragment":"error","react/prefer-destructuring-assignment":"error","react/prefer-react-namespace-import":"error","react/prefer-read-only-props":"error","react/prefer-shorthand-boolean":"error","react/prefer-shorthand-fragment":"error","react/use-jsx-vars":"error","react/web-api/no-leaked-event-listener":"error","react/web-api/no-leaked-interval":"error","react/web-api/no-leaked-resize-observer":"error","react/web-api/no-leaked-timeout":"error","react-hooks/exhaustive-deps":"error","react-hooks/rules-of-hooks":"error","react-compiler/react-compiler":"error"}});export{l as default};
1
+ import{a as r,b as e}from"./chunk-WK3YS7OG.js";import o from"@eslint-react/eslint-plugin";import t from"eslint-plugin-react-hooks";import n from"typescript-eslint";var d=n.config({files:["**/*.{jsx,tsx}"],ignores:r,languageOptions:e,settings:{react:{version:"19.1.0"}},plugins:{react:o,"react-hooks":t},rules:{"react/avoid-shorthand-boolean":"off","react/avoid-shorthand-fragment":"off","react/debug/class-component":"off","react/debug/function-component":"off","react/debug/hook":"off","react/debug/is-from-react":"off","react/debug/jsx":"off","react/debug/react-hooks":"off","react/dom/no-children-in-void-dom-elements":"error","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-namespace":"error","react/dom/no-render":"error","react/dom/no-render-return-value":"error","react/dom/no-script-url":"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/ensure-forward-ref-using-ref":"error","react/hooks-extra/ensure-custom-hooks-using-other-hooks":"error","react/hooks-extra/ensure-use-callback-has-non-empty-deps":"error","react/hooks-extra/ensure-use-memo-has-non-empty-deps":"error","react/hooks-extra/no-direct-set-state-in-use-effect":"error","react/hooks-extra/no-direct-set-state-in-use-layout-effect":"error","react/hooks-extra/no-redundant-custom-hook":"error","react/hooks-extra/no-unnecessary-use-callback":"error","react/hooks-extra/no-unnecessary-use-memo":"error","react/hooks-extra/no-unnecessary-use-prefix":"error","react/hooks-extra/no-useless-custom-hooks":"error","react/hooks-extra/prefer-use-state-lazy-initialization":"error","react/jsx-no-duplicate-props":"error","react/jsx-no-undef":"error","react/jsx-uses-react":"error","react/jsx-uses-vars":"error","react/naming-convention/component-name":"error","react/naming-convention/context-name":"error","react/naming-convention/filename":["error",{rule:"kebab-case"}],"react/naming-convention/filename-extension":"error","react/naming-convention/use-state":"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-prop":"error","react/no-children-to-array":"error","react/no-class-component":"error","react/no-clone-element":"error","react/no-comment-textnodes":"error","react/no-complex-conditional-rendering":"error","react/no-complicated-conditional-rendering":"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-default-props":"error","react/no-direct-mutation-state":"error","react/no-duplicate-jsx-props":"error","react/no-duplicate-key":"error","react/no-forward-ref":"error","react/no-implicit-key":"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-components":"error","react/no-nested-lazy-component-declarations":"error","react/no-prop-types":"error","react/no-redundant-should-component-update":"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-string-refs":"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-state":"error","react/no-use-context":"error","react/no-useless-forward-ref":"error","react/no-useless-fragment":"error","react/prefer-destructuring-assignment":"error","react/prefer-react-namespace-import":"error","react/prefer-read-only-props":"error","react/prefer-shorthand-boolean":"error","react/prefer-shorthand-fragment":"error","react/use-jsx-vars":"error","react/web-api/no-leaked-event-listener":"error","react/web-api/no-leaked-interval":"error","react/web-api/no-leaked-resize-observer":"error","react/web-api/no-leaked-timeout":"error","react-hooks/exhaustive-deps":"error","react-hooks/rules-of-hooks":"error"}});export{d as default};
2
2
  //# sourceMappingURL=config.react.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/config.react.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport react from \"@eslint-react/eslint-plugin\";\nimport reactCompiler from \"eslint-plugin-react-compiler\";\nimport reactHooks from \"eslint-plugin-react-hooks\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{jsx,tsx}\"],\nignores,\nlanguageOptions,\nsettings: {\n \"react\":{\"version\":\"19.1.0\"}\n},\n plugins: {\n \"react\": react,\"react-hooks\": reactHooks,\"react-compiler\": reactCompiler,\n },\n rules: {\n \"react/avoid-shorthand-boolean\":\"off\",\"react/avoid-shorthand-fragment\":\"off\",\"react/debug/class-component\":\"off\",\"react/debug/function-component\":\"off\",\"react/debug/hook\":\"off\",\"react/debug/is-from-react\":\"off\",\"react/debug/jsx\":\"off\",\"react/debug/react-hooks\":\"off\",\"react/dom/no-children-in-void-dom-elements\":\"error\",\"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-namespace\":\"error\",\"react/dom/no-render\":\"error\",\"react/dom/no-render-return-value\":\"error\",\"react/dom/no-script-url\":\"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/ensure-forward-ref-using-ref\":\"error\",\"react/hooks-extra/ensure-custom-hooks-using-other-hooks\":\"error\",\"react/hooks-extra/ensure-use-callback-has-non-empty-deps\":\"error\",\"react/hooks-extra/ensure-use-memo-has-non-empty-deps\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-effect\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-layout-effect\":\"error\",\"react/hooks-extra/no-redundant-custom-hook\":\"error\",\"react/hooks-extra/no-unnecessary-use-callback\":\"error\",\"react/hooks-extra/no-unnecessary-use-memo\":\"error\",\"react/hooks-extra/no-unnecessary-use-prefix\":\"error\",\"react/hooks-extra/no-useless-custom-hooks\":\"error\",\"react/hooks-extra/prefer-use-state-lazy-initialization\":\"error\",\"react/jsx-no-duplicate-props\":\"error\",\"react/jsx-no-undef\":\"error\",\"react/jsx-uses-react\":\"error\",\"react/jsx-uses-vars\":\"error\",\"react/naming-convention/component-name\":\"error\",\"react/naming-convention/context-name\":\"error\",\"react/naming-convention/filename\":[\"error\",{\"rule\":\"kebab-case\"}],\"react/naming-convention/filename-extension\":\"error\",\"react/naming-convention/use-state\":\"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-prop\":\"error\",\"react/no-children-to-array\":\"error\",\"react/no-class-component\":\"error\",\"react/no-clone-element\":\"error\",\"react/no-comment-textnodes\":\"error\",\"react/no-complex-conditional-rendering\":\"error\",\"react/no-complicated-conditional-rendering\":\"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-default-props\":\"error\",\"react/no-direct-mutation-state\":\"error\",\"react/no-duplicate-jsx-props\":\"error\",\"react/no-duplicate-key\":\"error\",\"react/no-forward-ref\":\"error\",\"react/no-implicit-key\":\"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-components\":\"error\",\"react/no-nested-lazy-component-declarations\":\"error\",\"react/no-prop-types\":\"error\",\"react/no-redundant-should-component-update\":\"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-string-refs\":\"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-state\":\"error\",\"react/no-use-context\":\"error\",\"react/no-useless-forward-ref\":\"error\",\"react/no-useless-fragment\":\"error\",\"react/prefer-destructuring-assignment\":\"error\",\"react/prefer-react-namespace-import\":\"error\",\"react/prefer-read-only-props\":\"error\",\"react/prefer-shorthand-boolean\":\"error\",\"react/prefer-shorthand-fragment\":\"error\",\"react/use-jsx-vars\":\"error\",\"react/web-api/no-leaked-event-listener\":\"error\",\"react/web-api/no-leaked-interval\":\"error\",\"react/web-api/no-leaked-resize-observer\":\"error\",\"react/web-api/no-leaked-timeout\":\"error\",\"react-hooks/exhaustive-deps\":\"error\",\"react-hooks/rules-of-hooks\":\"error\",\"react-compiler/react-compiler\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAW,8BAClB,OAAOC,MAAmB,+BAC1B,OAAOC,MAAgB,4BACvB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,gBAAgB,EAC5B,QAAAE,EACA,gBAAAC,EACA,SAAU,CACR,MAAQ,CAAC,QAAU,QAAQ,CAC7B,EACI,QAAS,CACP,MAASN,EAAM,cAAeE,EAAW,iBAAkBD,CAC7D,EACA,MAAO,CACL,gCAAgC,MAAM,iCAAiC,MAAM,8BAA8B,MAAM,iCAAiC,MAAM,mBAAmB,MAAM,4BAA4B,MAAM,kBAAkB,MAAM,0BAA0B,MAAM,6CAA6C,QAAQ,yCAAyC,QAAQ,uDAAuD,QAAQ,6BAA6B,QAAQ,0BAA0B,QAAQ,uBAAuB,QAAQ,mCAAmC,QAAQ,sCAAsC,QAAQ,yBAAyB,QAAQ,sBAAsB,QAAQ,mCAAmC,QAAQ,0BAA0B,QAAQ,gCAAgC,QAAQ,qCAAqC,QAAQ,mCAAmC,QAAQ,8BAA8B,QAAQ,2CAA2C,QAAQ,qCAAqC,QAAQ,0DAA0D,QAAQ,2DAA2D,QAAQ,uDAAuD,QAAQ,sDAAsD,QAAQ,6DAA6D,QAAQ,6CAA6C,QAAQ,gDAAgD,QAAQ,4CAA4C,QAAQ,8CAA8C,QAAQ,4CAA4C,QAAQ,yDAAyD,QAAQ,+BAA+B,QAAQ,qBAAqB,QAAQ,uBAAuB,QAAQ,sBAAsB,QAAQ,yCAAyC,QAAQ,uCAAuC,QAAQ,mCAAmC,CAAC,QAAQ,CAAC,KAAO,YAAY,CAAC,EAAE,6CAA6C,QAAQ,oCAAoC,QAAQ,oCAAoC,QAAQ,2BAA2B,QAAQ,0BAA0B,QAAQ,6BAA6B,QAAQ,wBAAwB,QAAQ,yBAAyB,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,2BAA2B,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,yCAAyC,QAAQ,6CAA6C,QAAQ,gCAAgC,QAAQ,wCAAwC,QAAQ,iCAAiC,QAAQ,4BAA4B,QAAQ,sBAAsB,QAAQ,yBAAyB,QAAQ,iCAAiC,QAAQ,+BAA+B,QAAQ,yBAAyB,QAAQ,uBAAuB,QAAQ,wBAAwB,QAAQ,wCAAwC,QAAQ,0CAA0C,QAAQ,wCAAwC,QAAQ,uBAAuB,QAAQ,uCAAuC,QAAQ,wCAAwC,QAAQ,6BAA6B,QAAQ,8CAA8C,QAAQ,sBAAsB,QAAQ,6CAA6C,QAAQ,4CAA4C,QAAQ,6CAA6C,QAAQ,8CAA8C,QAAQ,uBAAuB,QAAQ,uCAAuC,QAAQ,+CAA+C,QAAQ,wCAAwC,QAAQ,kCAAkC,QAAQ,kCAAkC,QAAQ,0CAA0C,QAAQ,wBAAwB,QAAQ,uBAAuB,QAAQ,+BAA+B,QAAQ,4BAA4B,QAAQ,wCAAwC,QAAQ,sCAAsC,QAAQ,+BAA+B,QAAQ,iCAAiC,QAAQ,kCAAkC,QAAQ,qBAAqB,QAAQ,yCAAyC,QAAQ,mCAAmC,QAAQ,0CAA0C,QAAQ,kCAAkC,QAAQ,8BAA8B,QAAQ,6BAA6B,QAAQ,gCAAgC,OACr9I,CACF,CAGA","names":["react","reactCompiler","reactHooks","tseslint","config_react_default","ignores","languageOptions"]}
1
+ {"version":3,"sources":["../src/config.react.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport react from \"@eslint-react/eslint-plugin\";\nimport reactHooks from \"eslint-plugin-react-hooks\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{jsx,tsx}\"],\nignores,\nlanguageOptions,\nsettings: {\n \"react\":{\"version\":\"19.1.0\"}\n},\n plugins: {\n \"react\": react,\"react-hooks\": reactHooks,\n },\n rules: {\n \"react/avoid-shorthand-boolean\":\"off\",\"react/avoid-shorthand-fragment\":\"off\",\"react/debug/class-component\":\"off\",\"react/debug/function-component\":\"off\",\"react/debug/hook\":\"off\",\"react/debug/is-from-react\":\"off\",\"react/debug/jsx\":\"off\",\"react/debug/react-hooks\":\"off\",\"react/dom/no-children-in-void-dom-elements\":\"error\",\"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-namespace\":\"error\",\"react/dom/no-render\":\"error\",\"react/dom/no-render-return-value\":\"error\",\"react/dom/no-script-url\":\"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/ensure-forward-ref-using-ref\":\"error\",\"react/hooks-extra/ensure-custom-hooks-using-other-hooks\":\"error\",\"react/hooks-extra/ensure-use-callback-has-non-empty-deps\":\"error\",\"react/hooks-extra/ensure-use-memo-has-non-empty-deps\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-effect\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-layout-effect\":\"error\",\"react/hooks-extra/no-redundant-custom-hook\":\"error\",\"react/hooks-extra/no-unnecessary-use-callback\":\"error\",\"react/hooks-extra/no-unnecessary-use-memo\":\"error\",\"react/hooks-extra/no-unnecessary-use-prefix\":\"error\",\"react/hooks-extra/no-useless-custom-hooks\":\"error\",\"react/hooks-extra/prefer-use-state-lazy-initialization\":\"error\",\"react/jsx-no-duplicate-props\":\"error\",\"react/jsx-no-undef\":\"error\",\"react/jsx-uses-react\":\"error\",\"react/jsx-uses-vars\":\"error\",\"react/naming-convention/component-name\":\"error\",\"react/naming-convention/context-name\":\"error\",\"react/naming-convention/filename\":[\"error\",{\"rule\":\"kebab-case\"}],\"react/naming-convention/filename-extension\":\"error\",\"react/naming-convention/use-state\":\"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-prop\":\"error\",\"react/no-children-to-array\":\"error\",\"react/no-class-component\":\"error\",\"react/no-clone-element\":\"error\",\"react/no-comment-textnodes\":\"error\",\"react/no-complex-conditional-rendering\":\"error\",\"react/no-complicated-conditional-rendering\":\"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-default-props\":\"error\",\"react/no-direct-mutation-state\":\"error\",\"react/no-duplicate-jsx-props\":\"error\",\"react/no-duplicate-key\":\"error\",\"react/no-forward-ref\":\"error\",\"react/no-implicit-key\":\"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-components\":\"error\",\"react/no-nested-lazy-component-declarations\":\"error\",\"react/no-prop-types\":\"error\",\"react/no-redundant-should-component-update\":\"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-string-refs\":\"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-state\":\"error\",\"react/no-use-context\":\"error\",\"react/no-useless-forward-ref\":\"error\",\"react/no-useless-fragment\":\"error\",\"react/prefer-destructuring-assignment\":\"error\",\"react/prefer-react-namespace-import\":\"error\",\"react/prefer-read-only-props\":\"error\",\"react/prefer-shorthand-boolean\":\"error\",\"react/prefer-shorthand-fragment\":\"error\",\"react/use-jsx-vars\":\"error\",\"react/web-api/no-leaked-event-listener\":\"error\",\"react/web-api/no-leaked-interval\":\"error\",\"react/web-api/no-leaked-resize-observer\":\"error\",\"react/web-api/no-leaked-timeout\":\"error\",\"react-hooks/exhaustive-deps\":\"error\",\"react-hooks/rules-of-hooks\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAW,8BAClB,OAAOC,MAAgB,4BACvB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,gBAAgB,EAC5B,QAAAE,EACA,gBAAAC,EACA,SAAU,CACR,MAAQ,CAAC,QAAU,QAAQ,CAC7B,EACI,QAAS,CACP,MAASL,EAAM,cAAeC,CAChC,EACA,MAAO,CACL,gCAAgC,MAAM,iCAAiC,MAAM,8BAA8B,MAAM,iCAAiC,MAAM,mBAAmB,MAAM,4BAA4B,MAAM,kBAAkB,MAAM,0BAA0B,MAAM,6CAA6C,QAAQ,yCAAyC,QAAQ,uDAAuD,QAAQ,6BAA6B,QAAQ,0BAA0B,QAAQ,uBAAuB,QAAQ,mCAAmC,QAAQ,sCAAsC,QAAQ,yBAAyB,QAAQ,sBAAsB,QAAQ,mCAAmC,QAAQ,0BAA0B,QAAQ,gCAAgC,QAAQ,qCAAqC,QAAQ,mCAAmC,QAAQ,8BAA8B,QAAQ,2CAA2C,QAAQ,qCAAqC,QAAQ,0DAA0D,QAAQ,2DAA2D,QAAQ,uDAAuD,QAAQ,sDAAsD,QAAQ,6DAA6D,QAAQ,6CAA6C,QAAQ,gDAAgD,QAAQ,4CAA4C,QAAQ,8CAA8C,QAAQ,4CAA4C,QAAQ,yDAAyD,QAAQ,+BAA+B,QAAQ,qBAAqB,QAAQ,uBAAuB,QAAQ,sBAAsB,QAAQ,yCAAyC,QAAQ,uCAAuC,QAAQ,mCAAmC,CAAC,QAAQ,CAAC,KAAO,YAAY,CAAC,EAAE,6CAA6C,QAAQ,oCAAoC,QAAQ,oCAAoC,QAAQ,2BAA2B,QAAQ,0BAA0B,QAAQ,6BAA6B,QAAQ,wBAAwB,QAAQ,yBAAyB,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,2BAA2B,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,yCAAyC,QAAQ,6CAA6C,QAAQ,gCAAgC,QAAQ,wCAAwC,QAAQ,iCAAiC,QAAQ,4BAA4B,QAAQ,sBAAsB,QAAQ,yBAAyB,QAAQ,iCAAiC,QAAQ,+BAA+B,QAAQ,yBAAyB,QAAQ,uBAAuB,QAAQ,wBAAwB,QAAQ,wCAAwC,QAAQ,0CAA0C,QAAQ,wCAAwC,QAAQ,uBAAuB,QAAQ,uCAAuC,QAAQ,wCAAwC,QAAQ,6BAA6B,QAAQ,8CAA8C,QAAQ,sBAAsB,QAAQ,6CAA6C,QAAQ,4CAA4C,QAAQ,6CAA6C,QAAQ,8CAA8C,QAAQ,uBAAuB,QAAQ,uCAAuC,QAAQ,+CAA+C,QAAQ,wCAAwC,QAAQ,kCAAkC,QAAQ,kCAAkC,QAAQ,0CAA0C,QAAQ,wBAAwB,QAAQ,uBAAuB,QAAQ,+BAA+B,QAAQ,4BAA4B,QAAQ,wCAAwC,QAAQ,sCAAsC,QAAQ,+BAA+B,QAAQ,iCAAiC,QAAQ,kCAAkC,QAAQ,qBAAqB,QAAQ,yCAAyC,QAAQ,mCAAmC,QAAQ,0CAA0C,QAAQ,kCAAkC,QAAQ,8BAA8B,QAAQ,6BAA6B,OAC76I,CACF,CAGA","names":["react","reactHooks","tseslint","config_react_default","ignores","languageOptions"]}
package/package.json CHANGED
@@ -28,8 +28,7 @@
28
28
  "eslint-plugin-lodash": "^8.0.0",
29
29
  "eslint-plugin-perfectionist": "^4.12.3",
30
30
  "eslint-plugin-prettier": "^5.2.6",
31
- "eslint-plugin-react-compiler": "19.1.0-rc.1",
32
- "eslint-plugin-react-hooks": "^5.2.0",
31
+ "eslint-plugin-react-hooks": "^5.2.0-rc.1",
33
32
  "eslint-plugin-solid": "^0.14.5",
34
33
  "eslint-plugin-sonarjs": "3.0.2",
35
34
  "eslint-plugin-storybook": "^0.12.0",
@@ -58,10 +57,10 @@
58
57
  "repository": {
59
58
  "url": "git+https://github.com/eglove/ethang-monorepo.git#master"
60
59
  },
61
- "type": "module",
62
- "version": "21.8.13",
63
60
  "scripts": {
64
61
  "build": "bun build.ts && pnpm lint",
65
62
  "lint": "eslint . --fix && prettier src --write"
66
- }
67
- }
63
+ },
64
+ "type": "module",
65
+ "version": "21.8.14"
66
+ }