@@ -36,7 +36,12 @@ function react() {
3636 '@eslint-react/jsx-key-before-spread' : 'error' ,
3737 '@eslint-react/jsx-no-undef' : 'off' ,
3838 '@eslint-react/jsx-no-iife' : 'warn' ,
39+ '@eslint-react/jsx-no-duplicate-props' : 'error' ,
40+ '@eslint-react/jsx-no-comment-textnodes' : 'warn' ,
3941 '@eslint-react/jsx-uses-react' : 'off' ,
42+ '@eslint-react/jsx-shorthand-boolean' : 'warn' ,
43+ '@eslint-react/jsx-shorthand-fragment' : 'warn' ,
44+
4045 '@eslint-react/no-access-state-in-setstate' : 'error' ,
4146 '@eslint-react/no-array-index-key' : 'warn' ,
4247 '@eslint-react/no-children-count' : 'warn' ,
@@ -46,7 +51,6 @@ function react() {
4651 '@eslint-react/no-children-prop' : 'warn' ,
4752 '@eslint-react/no-children-to-array' : 'warn' ,
4853 '@eslint-react/no-clone-element' : 'warn' ,
49- '@eslint-react/no-comment-textnodes' : 'warn' ,
5054 '@eslint-react/no-component-will-mount' : 'error' ,
5155 '@eslint-react/no-component-will-receive-props' : 'error' ,
5256 '@eslint-react/no-component-will-update' : 'error' ,
@@ -55,7 +59,6 @@ function react() {
5559 '@eslint-react/no-direct-mutation-state' : 'error' ,
5660 '@eslint-react/no-duplicate-key' : 'error' ,
5761 '@eslint-react/no-default-props' : 'warn' ,
58- '@eslint-react/jsx-no-duplicate-props' : 'error' ,
5962 '@eslint-react/no-forward-ref' : 'warn' ,
6063 '@eslint-react/no-implicit-key' : 'error' ,
6164 '@eslint-react/no-missing-context-display-name' : 'warn' ,
@@ -68,28 +71,27 @@ function react() {
6871 '@eslint-react/no-set-state-in-component-did-update' : 'warn' ,
6972 '@eslint-react/no-set-state-in-component-will-update' : 'warn' ,
7073 '@eslint-react/no-string-refs' : 'error' ,
74+ '@eslint-react/dom/no-string-style-prop' : 'error' ,
7175 '@eslint-react/no-unsafe-component-will-mount' : 'warn' ,
7276 '@eslint-react/no-unsafe-component-will-receive-props' : 'warn' ,
7377 '@eslint-react/no-unsafe-component-will-update' : 'warn' ,
7478 '@eslint-react/no-unstable-context-value' : 'error' ,
7579 '@eslint-react/no-unstable-default-props' : 'error' ,
7680 '@eslint-react/no-unused-class-component-members' : 'warn' ,
7781 '@eslint-react/no-unused-state' : 'warn' ,
82+ '@eslint-react/no-unused-props' : 'off' ,
7883 '@eslint-react/no-useless-forward-ref' : 'off' ,
7984 '@eslint-react/no-useless-fragment' : 'warn' ,
8085 '@eslint-react/no-use-context' : 'warn' ,
81- '@eslint-react/prefer-destructuring-assignment ' : 'warn' ,
82-
83- '@eslint-react/prefer-shorthand-boolean ' : 'warn' ,
84- '@eslint-react/avoid-shorthand-boolean ' : 'off ' ,
86+ '@eslint-react/no-unnecessary-use-callback ' : 'warn' ,
87+ '@eslint-react/no-unnecessary-use-memo' : 'warn' ,
88+ '@eslint-react/no-unnecessary-use-prefix ' : 'warn' ,
89+ '@eslint-react/no-unnecessary-key ' : 'warn ' ,
8590
86- '@eslint-react/prefer-shorthand-fragment ' : 'warn' ,
87- '@eslint-react/avoid-shorthand-fragment ' : 'off ' ,
91+ '@eslint-react/prefer-use-state-lazy-initialization ' : 'warn' ,
92+ '@eslint-react/prefer-destructuring-assignment ' : 'warn ' ,
8893
89- '@eslint-react/hooks-extra/prefer-use-state-lazy-initialization' : 'warn' ,
90- '@eslint-react/hooks-extra/no-unnecessary-use-callback' : 'warn' ,
91- '@eslint-react/hooks-extra/no-unnecessary-use-prefix' : 'warn' ,
92- '@eslint-react/hooks-extra/no-unnecessary-use-memo' : 'warn' ,
94+ '@eslint-react/hooks-extra/no-direct-set-state-in-use-effect' : 'warn' ,
9395
9496 '@eslint-react/naming-convention/component-name' : 'warn' ,
9597 '@eslint-react/naming-convention/context-name' : 'warn' ,
0 commit comments