diff --git a/package.json b/package.json index c9f2b9e7..304a4a5c 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ }, "devDependencies": { "@antfu/ni": "0.22.0", - "@eslint-react/eslint-plugin": "1.6.0", + "@eslint-react/eslint-plugin": "1.8.0", "@eslint/config-inspector": "0.5.2", "@isentinel/eslint-config": "workspace:*", "@stylistic/eslint-plugin-migrate": "2.6.1", @@ -120,7 +120,7 @@ "typescript": "5.5.4" }, "peerDependencies": { - "@eslint-react/eslint-plugin": "^1.5.27", + "@eslint-react/eslint-plugin": "^1.8.0", "eslint": ">=8.40.0", "eslint-plugin-react-hooks": "^4.6.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 11d77219..1c399fbd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,8 +142,8 @@ importers: specifier: 0.22.0 version: 0.22.0 '@eslint-react/eslint-plugin': - specifier: 1.6.0 - version: 1.6.0(eslint@9.8.0)(typescript@5.5.4) + specifier: 1.8.0 + version: 1.8.0(eslint@9.8.0)(typescript@5.5.4) '@eslint/config-inspector': specifier: 0.5.2 version: 0.5.2(eslint@9.8.0) @@ -849,14 +849,14 @@ packages: resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint-react/ast@1.6.0': - resolution: {integrity: sha512-lqwoJhJODcRO/4CnGAx7Pylvxg5VjPO3IP2rLIAOLJlVOo3FBlYJ7+jj1QI6V8LBjcI9S5J5TPUQOBJRwnAUyg==} + '@eslint-react/ast@1.8.0': + resolution: {integrity: sha512-bTQLwtnnl882N32OW72M2KpCGKL/98x+Jxj51ZkYIdmHJk+K31+/tKcq2tQ6mtzmnpGyetGtJWN4ndHim+gvsQ==} - '@eslint-react/core@1.6.0': - resolution: {integrity: sha512-EnTb2EcF5WxesgfHCON1KVyFTuIH5HUS5Rt2vFoLaYkUEJCTVT2s6lVg8ZAkfas02ogVWMj+GxMHgCABW/yHsQ==} + '@eslint-react/core@1.8.0': + resolution: {integrity: sha512-T1rbW1Qx4foDOmb2ccSBfNvWjvPerbiU9lIhTl7erM33B+dDEn5cZVDTphm4Pi+hFQAaVMQ0gSxiDyYLVAi16g==} - '@eslint-react/eslint-plugin@1.6.0': - resolution: {integrity: sha512-DrWsjEub7RiJBJO3qVpTKtzg+jhS8ouVNlSULgIScyJvV+sE59rO3li7EKfOa6Ox6sRwMhcarx0MQAjsTuxhgw==} + '@eslint-react/eslint-plugin@1.8.0': + resolution: {integrity: sha512-R8louEGxO2oBzxCyhpRrPc3yqnqHlLHE2gOqIZg+NOEzX13VwtK6cVa5ObAmraTdR70Wu/y7Rf0Rn+XWXWVGMA==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -865,20 +865,20 @@ packages: typescript: optional: true - '@eslint-react/jsx@1.6.0': - resolution: {integrity: sha512-qDrwuEzpXWQPBGkKoVePL+Oy7RDssG4CiNfGqEl723eV7UPkmOCarQPymL9WNoqKL8Fh3uy6fUa8i6yX162XGA==} + '@eslint-react/jsx@1.8.0': + resolution: {integrity: sha512-6w1aBGXdYi+Kq7YjB1kn2Gy3zxHIFv/GNnl4u3x8ek/hu29wrfJAqS30JKzQssu2Jhxt+ou4SLUQX4jkAhzG7A==} - '@eslint-react/shared@1.6.0': - resolution: {integrity: sha512-ccEPQVNwVo2TOL0V7RfQyskpOh7JT5yqAwUw8EPAtgP2KDdzarnljRWfSt6UA8ZPBgb5oGiISsNwsgImr51dbA==} + '@eslint-react/shared@1.8.0': + resolution: {integrity: sha512-FJ/Bu8DaSGqqpTtI4X3QkMLbqsHZUjTI8AwHvWGCcZJgiDqP3MZEzA/xlZonTo8hyOc/Yt5ORVbKO+99brlOBA==} - '@eslint-react/tools@1.6.0': - resolution: {integrity: sha512-PxKMpbfm3piXyD6mHSUlATWv+KiTUx1OILVXucbFIHeqefIQJrFJckc8ZIjEAYgbPrzIGH+nfL0wNG20HQO9kA==} + '@eslint-react/tools@1.8.0': + resolution: {integrity: sha512-4a2bTGfv52mvfXSvPnLjUq6EJWsdYT53Yl/csKX4G+v/ssXerWGygJVWCIdrliD2SO26Eew3fWgrsjGwyPPVWg==} - '@eslint-react/types@1.6.0': - resolution: {integrity: sha512-O7t3U78KBLvaiLXPr1wlpxb6KLOo4S/5nH0GbJU6c+dESh681xxTU0CAr5HnjRp5x+P3SEGYVtl8QuLQj/D9Uw==} + '@eslint-react/types@1.8.0': + resolution: {integrity: sha512-0Jec+35spAeZQ1tLEzDlMzswTHYlbJj1vVTk57b3m0Pm+URN7WQ80RHHeP86RyICUE1UQdvIx+Krt+0OSypv4A==} - '@eslint-react/var@1.6.0': - resolution: {integrity: sha512-fZJ/L8PKbONeZSCh2t6RcC2VSv1+eG4RnhJ0P0d1ftxl0ylclQeUY7tWikhRPVkJUsj0tKDVg9qBxZX+4kB5iQ==} + '@eslint-react/var@1.8.0': + resolution: {integrity: sha512-xM+QAnkLqFHNUQEuGUlU8rylJmXJkYjwzriTOvtoGmLHeFqHJFX9KSA5hJ9ARrZ7rXr5uv+UGXrVX++lgoEcGA==} '@eslint-stylistic/metadata@2.6.1': resolution: {integrity: sha512-cjM6wojoJbLCyZWyil8IwLnj+eAke7CIzenxJrKnHDe+NGUAbP9q3xQ5F5idgkFJfNhCwJ1WjwUpxJH7mptLWg==} @@ -1508,6 +1508,9 @@ packages: binary-searching@2.0.5: resolution: {integrity: sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA==} + birecord@0.1.1: + resolution: {integrity: sha512-VUpsf/qykW0heRlC8LooCq28Kxn3mAqKohhDG/49rrsQ1dT1CXyj/pgXS+5BSRzFTR/3DyIBOqQOrGyZOh71Aw==} + brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} @@ -2124,8 +2127,8 @@ packages: peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 - eslint-plugin-react-debug@1.6.0: - resolution: {integrity: sha512-xJEJlhOjyYSsC9lxJHJ+Z3Pew30I8mPU+tw/Pg99JGlsNj8twNOfQ/AAD50eFC9vumDah4ck0VH63oG8rf8mPw==} + eslint-plugin-react-debug@1.8.0: + resolution: {integrity: sha512-XxjUZducmM9ySsDRI9oMfNM81ssfNFPoD9xQJDuZi35KvgPFOrWINLU1VKJTWzX+wG+RIyYoadaEum/sgD9mpg==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -2134,8 +2137,8 @@ packages: typescript: optional: true - eslint-plugin-react-dom@1.6.0: - resolution: {integrity: sha512-wcnoaBF/u3mvG15qpogFTBDQ74H5ZavK5aw0ClLfd+wgxXRigOn7/8tODQ5vLTLZqD/6OM4BcfBUK+qz09u/dA==} + eslint-plugin-react-dom@1.8.0: + resolution: {integrity: sha512-cxRBgw0iQzDZrFHx3V6nKr4nzPDxBB+/fysV/Ey/xxS8pP6uNMk8TXjQhBzmcexcy/eEktqXKBCGyQ+kIcBfOA==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -2144,8 +2147,8 @@ packages: typescript: optional: true - eslint-plugin-react-hooks-extra@1.6.0: - resolution: {integrity: sha512-XCqj938kMjUgw1L4A8oUl2dsw5buWtqIZgIofrjA6lhUjIknhGf7Xkf/+ec7La0NVTxU92T2JD+SMas1Pq3x+w==} + eslint-plugin-react-hooks-extra@1.8.0: + resolution: {integrity: sha512-ImiABnbhp8AGxufxhXCPzctskGXh0/yDmP4jCxcP2tjvs5uQ7bp7pfZFLuUsj7BxVbRJmEGFZxblC4XRiYBMMQ==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -2160,8 +2163,8 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react-naming-convention@1.6.0: - resolution: {integrity: sha512-/kl/i0gwW4kYtxLp+u+2eCCJW5o91ror5mJkmBHyvbuHLp20y6NSq/I/EGihapnG4tXb+L2koMKU0irvtgxEgw==} + eslint-plugin-react-naming-convention@1.8.0: + resolution: {integrity: sha512-V9HYs2YQG2sQsbZkZkcbkRnE09RCzHzGgkBwyGXueWpIUBd8Esi9ChMANiSsvn6cL7MvF71Zb24soD63jHsQWA==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -2170,8 +2173,8 @@ packages: typescript: optional: true - eslint-plugin-react-x@1.6.0: - resolution: {integrity: sha512-tyDoJfB0Kg3arEcN3q01LDQjGonYXW7awCIRwDW67u3eKETa6LxYtNNUo2RmWpsKWSP23UHp6AOaPdJhbh2E2Q==} + eslint-plugin-react-x@1.8.0: + resolution: {integrity: sha512-4kEcT4epnaR1wu8cygqMxC9h3qE/aejNeyYkrrfzqL1otEPGHTgfPlTcBsQLznJCCY8BHKUGTiwEnar8gYxq/Q==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -3471,6 +3474,9 @@ packages: resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} hasBin: true + remeda@2.6.0: + resolution: {integrity: sha512-uwq9c2s91Mry5YQiPGWtW9vF2DgTIVLzCIZZYz6Rcv8hsgWFQjavOaP24m9ZNF2mur+eq0x2EqRQlPBaLZuYrA==} + repeat-string@1.6.1: resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} engines: {node: '>=0.10'} @@ -3842,6 +3848,10 @@ packages: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} + type-fest@4.23.0: + resolution: {integrity: sha512-ZiBujro2ohr5+Z/hZWHESLz3g08BBdrdLMieYFULJO+tWc437sn8kQsWLJoZErY8alNhxre9K4p3GURAG11n+w==} + engines: {node: '>=16'} + typed-array-buffer@1.0.2: resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} @@ -4561,14 +4571,15 @@ snapshots: '@eslint-community/regexpp@4.11.0': {} - '@eslint-react/ast@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/ast@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + birecord: 0.1.1 + remeda: 2.6.0 string-ts: 2.2.0 ts-pattern: 5.2.0 transitivePeerDependencies: @@ -4576,18 +4587,19 @@ snapshots: - supports-color - typescript - '@eslint-react/core@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/core@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/jsx': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/var': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/jsx': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/var': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + remeda: 2.6.0 short-unique-id: 5.2.0 ts-pattern: 5.2.0 transitivePeerDependencies: @@ -4595,70 +4607,74 @@ snapshots: - supports-color - typescript - '@eslint-react/eslint-plugin@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/eslint-plugin@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 - eslint-plugin-react-debug: 1.6.0(eslint@9.8.0)(typescript@5.5.4) - eslint-plugin-react-dom: 1.6.0(eslint@9.8.0)(typescript@5.5.4) - eslint-plugin-react-hooks-extra: 1.6.0(eslint@9.8.0)(typescript@5.5.4) - eslint-plugin-react-naming-convention: 1.6.0(eslint@9.8.0)(typescript@5.5.4) - eslint-plugin-react-x: 1.6.0(eslint@9.8.0)(typescript@5.5.4) + eslint-plugin-react-debug: 1.8.0(eslint@9.8.0)(typescript@5.5.4) + eslint-plugin-react-dom: 1.8.0(eslint@9.8.0)(typescript@5.5.4) + eslint-plugin-react-hooks-extra: 1.8.0(eslint@9.8.0)(typescript@5.5.4) + eslint-plugin-react-naming-convention: 1.8.0(eslint@9.8.0)(typescript@5.5.4) + eslint-plugin-react-x: 1.8.0(eslint@9.8.0)(typescript@5.5.4) + remeda: 2.6.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@eslint-react/jsx@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/jsx@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/var': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/var': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + remeda: 2.6.0 ts-pattern: 5.2.0 transitivePeerDependencies: - eslint - supports-color - typescript - '@eslint-react/shared@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/shared@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) picomatch: 4.0.2 transitivePeerDependencies: - eslint - supports-color - typescript - '@eslint-react/tools@1.6.0': {} + '@eslint-react/tools@1.8.0': {} - '@eslint-react/types@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/types@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@eslint-react/tools': 1.6.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + remeda: 2.6.0 transitivePeerDependencies: - eslint - supports-color - typescript - '@eslint-react/var@1.6.0(eslint@9.8.0)(typescript@5.5.4)': + '@eslint-react/var@1.8.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + remeda: 2.6.0 transitivePeerDependencies: - eslint - supports-color @@ -5442,6 +5458,8 @@ snapshots: binary-searching@2.0.5: {} + birecord@0.1.1: {} + brace-expansion@1.1.11: dependencies: balanced-match: 1.0.2 @@ -6252,57 +6270,60 @@ snapshots: dependencies: eslint: 9.8.0 - eslint-plugin-react-debug@1.6.0(eslint@9.8.0)(typescript@5.5.4): + eslint-plugin-react-debug@1.8.0(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/core': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/jsx': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/core': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/jsx': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 + remeda: 2.6.0 string-ts: 2.2.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - eslint-plugin-react-dom@1.6.0(eslint@9.8.0)(typescript@5.5.4): + eslint-plugin-react-dom@1.8.0(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/core': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/jsx': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/var': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/core': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/jsx': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/var': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 + remeda: 2.6.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks-extra@1.6.0(eslint@9.8.0)(typescript@5.5.4): + eslint-plugin-react-hooks-extra@1.8.0(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/core': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/jsx': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/var': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/core': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/jsx': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/var': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 + remeda: 2.6.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -6312,39 +6333,41 @@ snapshots: dependencies: eslint: 9.8.0 - eslint-plugin-react-naming-convention@1.6.0(eslint@9.8.0)(typescript@5.5.4): + eslint-plugin-react-naming-convention@1.8.0(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/core': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/jsx': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/core': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/jsx': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 + remeda: 2.6.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - eslint-plugin-react-x@1.6.0(eslint@9.8.0)(typescript@5.5.4): + eslint-plugin-react-x@1.8.0(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@eslint-react/ast': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/core': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/jsx': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/shared': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/tools': 1.6.0 - '@eslint-react/types': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@eslint-react/var': 1.6.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/utils': 7.17.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/ast': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/core': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/jsx': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/shared': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/tools': 1.8.0 + '@eslint-react/types': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@eslint-react/var': 1.8.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 is-immutable-type: 4.0.0(eslint@9.8.0)(typescript@5.5.4) + remeda: 2.6.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -7805,6 +7828,10 @@ snapshots: dependencies: jsesc: 0.5.0 + remeda@2.6.0: + dependencies: + type-fest: 4.23.0 + repeat-string@1.6.1: {} require-directory@2.1.1: {} @@ -8213,6 +8240,8 @@ snapshots: type-fest@0.8.1: {} + type-fest@4.23.0: {} + typed-array-buffer@1.0.2: dependencies: call-bind: 1.0.7 diff --git a/src/typegen.d.ts b/src/typegen.d.ts index cfc7ad43..81a94e2f 100644 --- a/src/typegen.d.ts +++ b/src/typegen.d.ts @@ -1334,358 +1334,6 @@ export interface RuleOptions { * CSpell spellchecker */ 'no-autofix/@cspell/spellchecker'?: Linter.RuleEntry - /** - * avoid using shorthand boolean attribute - * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean - */ - 'no-autofix/@eslint-react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]> - /** - * avoid using shorthand fragment syntax - * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment - */ - 'no-autofix/@eslint-react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]> - /** - * report all class components, including anonymous ones - * @see https://eslint-react.xyz/docs/rules/debug-class-component - */ - 'no-autofix/@eslint-react/debug/class-component'?: Linter.RuleEntry<[]> - /** - * report all function components, including anonymous ones - * @see https://eslint-react.xyz/docs/rules/debug-function-component - */ - 'no-autofix/@eslint-react/debug/function-component'?: Linter.RuleEntry<[]> - /** - * report all React Hooks - * @see https://eslint-react.xyz/docs/rules/debug-react-hooks - */ - 'no-autofix/@eslint-react/debug/react-hooks'?: Linter.RuleEntry<[]> - /** - * disallow passing 'children' to void DOM elements - * @see https://eslint-react.xyz/docs/rules/dom-no-children-in-void-dom-elements - */ - 'no-autofix/@eslint-react/dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]> - /** - * disallow when a DOM component is using 'dangerouslySetInnerHTML' - * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml - */ - 'no-autofix/@eslint-react/dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]> - /** - * disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML' - * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children - */ - 'no-autofix/@eslint-react/dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]> - /** - * disallow 'findDOMNode' - * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node - */ - 'no-autofix/@eslint-react/dom/no-find-dom-node'?: Linter.RuleEntry<[]> - /** - * enforce that button component have an explicit 'type' attribute - * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type - */ - 'no-autofix/@eslint-react/dom/no-missing-button-type'?: Linter.RuleEntry<[]> - /** - * enforce that 'iframe' component have an explicit 'sandbox' attribute - * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox - */ - 'no-autofix/@eslint-react/dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]> - /** - * enforce that namespaces are not used in React elements - * @see https://eslint-react.xyz/docs/rules/dom-no-namespace - */ - 'no-autofix/@eslint-react/dom/no-namespace'?: Linter.RuleEntry<[]> - /** - * disallow usage of the return value of 'ReactDOM.render' - * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value - */ - 'no-autofix/@eslint-react/dom/no-render-return-value'?: Linter.RuleEntry<[]> - /** - * disallow 'javascript:' URLs as JSX event handler prop's value - * @see https://eslint-react.xyz/docs/rules/dom-no-script-url - */ - 'no-autofix/@eslint-react/dom/no-script-url'?: Linter.RuleEntry<[]> - /** - * disallow unsafe iframe 'sandbox' attribute combinations - * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox - */ - 'no-autofix/@eslint-react/dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]> - /** - * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"' - * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank - */ - 'no-autofix/@eslint-react/dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]> - /** - * require a 'ref' parameter to be set when using 'forwardRef' - * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref - */ - 'no-autofix/@eslint-react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]> - /** - * enforce custom hooks using other hooks - * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks - */ - 'no-autofix/@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]> - /** - * enforce 'useCallback' has non-empty dependencies array - * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps - */ - 'no-autofix/@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]> - /** - * enforce 'useMemo' has non-empty dependencies array - * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps - */ - 'no-autofix/@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]> - /** - * disallow direct calls to the 'set' function of 'useState' in 'useEffect' - * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect - */ - 'no-autofix/@eslint-react/hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]> - /** - * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect' - * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect - */ - 'no-autofix/@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]> - /** - * disallow function calls in 'useState' that aren't wrapped in an initializer function - * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization - */ - 'no-autofix/@eslint-react/hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]> - /** - * enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE' - * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name - */ - 'no-autofix/@eslint-react/naming-convention/component-name'?: Linter.RuleEntry - /** - * enforce naming convention for JSX filenames - * @see https://eslint-react.xyz/docs/rules/naming-convention-filename - */ - 'no-autofix/@eslint-react/naming-convention/filename'?: Linter.RuleEntry - /** - * enforce naming convention for JSX file extensions - * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension - */ - 'no-autofix/@eslint-react/naming-convention/filename-extension'?: Linter.RuleEntry - /** - * enforce destructuring and symmetric naming of 'useState' hook value and setter variables - * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state - */ - 'no-autofix/@eslint-react/naming-convention/use-state'?: Linter.RuleEntry<[]> - /** - * disallow accessing 'this.state' within 'setState' - * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate - */ - 'no-autofix/@eslint-react/no-access-state-in-setstate'?: Linter.RuleEntry<[]> - /** - * disallow using Array index as 'key' - * @see https://eslint-react.xyz/docs/rules/no-array-index-key - */ - 'no-autofix/@eslint-react/no-array-index-key'?: Linter.RuleEntry<[]> - /** - * disallow using 'Children.count' - * @see https://eslint-react.xyz/docs/rules/no-children-count - */ - 'no-autofix/@eslint-react/no-children-count'?: Linter.RuleEntry<[]> - /** - * disallow using 'Children.forEach' - * @see https://eslint-react.xyz/docs/rules/no-children-for-each - */ - 'no-autofix/@eslint-react/no-children-for-each'?: Linter.RuleEntry<[]> - /** - * disallow using 'Children.map' - * @see https://eslint-react.xyz/docs/rules/no-children-map - */ - 'no-autofix/@eslint-react/no-children-map'?: Linter.RuleEntry<[]> - /** - * disallow using 'Children.only' - * @see https://eslint-react.xyz/docs/rules/no-children-only - */ - 'no-autofix/@eslint-react/no-children-only'?: Linter.RuleEntry<[]> - /** - * disallow passing 'children' as props - * @see https://eslint-react.xyz/docs/rules/no-children-prop - */ - 'no-autofix/@eslint-react/no-children-prop'?: Linter.RuleEntry<[]> - /** - * disallow using 'Children.toArray' - * @see https://eslint-react.xyz/docs/rules/no-children-to-array - */ - 'no-autofix/@eslint-react/no-children-to-array'?: Linter.RuleEntry<[]> - /** - * disallow using class components - * @see https://eslint-react.xyz/docs/rules/no-class-component - */ - 'no-autofix/@eslint-react/no-class-component'?: Linter.RuleEntry<[]> - /** - * disallow using 'cloneElement' - * @see https://eslint-react.xyz/docs/rules/no-clone-element - */ - 'no-autofix/@eslint-react/no-clone-element'?: Linter.RuleEntry<[]> - /** - * disallow comments from being inserted as text nodes - * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes - */ - 'no-autofix/@eslint-react/no-comment-textnodes'?: Linter.RuleEntry<[]> - /** - * disallow complex conditional rendering - * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering - * @deprecated - */ - 'no-autofix/@eslint-react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]> - /** - * disallow complex conditional rendering - * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering - * @deprecated - */ - 'no-autofix/@eslint-react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]> - /** - * disallow using 'componentWillMount' - * @see https://eslint-react.xyz/docs/rules/no-component-will-mount - */ - 'no-autofix/@eslint-react/no-component-will-mount'?: Linter.RuleEntry<[]> - /** - * disallow using 'componentWillReceiveProps' - * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props - */ - 'no-autofix/@eslint-react/no-component-will-receive-props'?: Linter.RuleEntry<[]> - /** - * disallow using 'componentWillReceiveProps' - * @see https://eslint-react.xyz/docs/rules/no-component-will-update - */ - 'no-autofix/@eslint-react/no-component-will-update'?: Linter.RuleEntry<[]> - /** - * disallow using 'createRef' in function components - * @see https://eslint-react.xyz/docs/rules/no-create-ref - */ - 'no-autofix/@eslint-react/no-create-ref'?: Linter.RuleEntry<[]> - /** - * disallow using 'defaultProps' property in components - * @see https://eslint-react.xyz/docs/rules/no-default-props - */ - 'no-autofix/@eslint-react/no-default-props'?: Linter.RuleEntry<[]> - /** - * disallow direct mutation of state - * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state - */ - 'no-autofix/@eslint-react/no-direct-mutation-state'?: Linter.RuleEntry<[]> - /** - * disallow duplicate keys in 'key' prop when rendering list - * @see https://eslint-react.xyz/docs/rules/no-duplicate-key - */ - 'no-autofix/@eslint-react/no-duplicate-key'?: Linter.RuleEntry<[]> - /** - * disallow implicit 'key' props - * @see https://eslint-react.xyz/docs/rules/no-implicit-key - */ - 'no-autofix/@eslint-react/no-implicit-key'?: Linter.RuleEntry<[]> - /** - * disallow problematic leaked values from being rendered - * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering - */ - 'no-autofix/@eslint-react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]> - /** - * require 'displayName' for 'memo' and 'forwardRef' components - * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name - */ - 'no-autofix/@eslint-react/no-missing-component-display-name'?: Linter.RuleEntry<[]> - /** - * require 'key' prop when rendering list - * @see https://eslint-react.xyz/docs/rules/no-missing-key - */ - 'no-autofix/@eslint-react/no-missing-key'?: Linter.RuleEntry<[]> - /** - * disallow using unstable nested components - * @see https://eslint-react.xyz/docs/rules/no-nested-components - */ - 'no-autofix/@eslint-react/no-nested-components'?: Linter.RuleEntry<[]> - /** - * disallow using 'propTypes' property in components - * @see https://eslint-react.xyz/docs/rules/no-prop-types - */ - 'no-autofix/@eslint-react/no-prop-types'?: Linter.RuleEntry<[]> - /** - * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent' - * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update - */ - 'no-autofix/@eslint-react/no-redundant-should-component-update'?: Linter.RuleEntry<[]> - /** - * disallow using 'setState' in 'componentDidMount' - * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount - */ - 'no-autofix/@eslint-react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]> - /** - * disallow using 'setState' in 'componentDidUpdate' - * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update - */ - 'no-autofix/@eslint-react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]> - /** - * disallow using 'setState' in 'componentWillUpdate' - * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update - */ - 'no-autofix/@eslint-react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]> - /** - * disallow using deprecated string refs - * @see https://eslint-react.xyz/docs/rules/no-string-refs - */ - 'no-autofix/@eslint-react/no-string-refs'?: Linter.RuleEntry<[]> - /** - * disallow using 'UNSAFE_componentWillMount' - * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount - */ - 'no-autofix/@eslint-react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]> - /** - * disallow using 'UNSAFE_componentWillReceiveProps' - * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props - */ - 'no-autofix/@eslint-react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]> - /** - * disallow using 'UNSAFE_componentWillUpdate' - * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update - */ - 'no-autofix/@eslint-react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]> - /** - * disallow passing constructed values to context providers - * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value - */ - 'no-autofix/@eslint-react/no-unstable-context-value'?: Linter.RuleEntry<[]> - /** - * disallow using unstable value as default param in function component - * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props - */ - 'no-autofix/@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<[]> - /** - * disallow unused class component members - * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members - */ - 'no-autofix/@eslint-react/no-unused-class-component-members'?: Linter.RuleEntry<[]> - /** - * disallow unused state of class component - * @see https://eslint-react.xyz/docs/rules/no-unused-state - */ - 'no-autofix/@eslint-react/no-unused-state'?: Linter.RuleEntry<[]> - /** - * disallow unnecessary fragments - * @see https://eslint-react.xyz/docs/rules/no-useless-fragment - */ - 'no-autofix/@eslint-react/no-useless-fragment'?: Linter.RuleEntry<[]> - /** - * enforce using destructuring assignment in component props and context - * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment - */ - 'no-autofix/@eslint-react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]> - /** - * enforce read-only props in components - * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props - */ - 'no-autofix/@eslint-react/prefer-read-only-props'?: Linter.RuleEntry<[]> - /** - * enforce using shorthand boolean attributes - * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean - */ - 'no-autofix/@eslint-react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]> - /** - * enforce using fragment syntax instead of 'Fragment' component - * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment - */ - 'no-autofix/@eslint-react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]> /** * Reflows multi-line comments to ensure that blocks never exceed the configured length * @see https://github.com/lasselupe33/eslint-plugin-comment-length/tree/master/src/rules/limit-multi-line-comments/docs.md @@ -15522,22 +15170,6 @@ type NoAutofixCspellSpellchecker = []|[{ numSuggestions: number }] -// ----- no-autofix/@eslint-react/naming-convention/component-name ----- -type NoAutofixEslintReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | { - excepts?: string[] - rule?: ("PascalCase" | "CONSTANT_CASE") -})] -// ----- no-autofix/@eslint-react/naming-convention/filename ----- -type NoAutofixEslintReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | { - excepts?: string[] - extensions?: string[] - rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case") -})] -// ----- no-autofix/@eslint-react/naming-convention/filename-extension ----- -type NoAutofixEslintReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | { - allow?: ("always" | "as-needed") - extensions?: string[] -})] // ----- no-autofix/@isentinel/comment-length/limit-multi-line-comments ----- type NoAutofixIsentinelCommentLengthLimitMultiLineComments = []|[{ mode?: ("overflow-only" | "compact-on-overflow" | "compact")