Skip to content

Commit cd32c6b

Browse files
committed
docs: update recommended rules in mono plugins readmes
1 parent 40ca3bd commit cd32c6b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"eslint-import-resolver-oxc": "^0.6.0",
8181
"importx": "^0.5.1",
8282
"lefthook": "^1.9.2",
83-
"markdownlint": "^0.37.0",
83+
"markdownlint": "^0.37.1",
8484
"publint": "^0.2.12",
8585
"react": "^19.0.0",
8686
"react-dom": "^19.0.0",

packages/plugins/eslint-plugin-react-hooks-extra/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export default [
2929
},
3030
rules: {
3131
// react-hooks-extra recommended rules
32-
"react-hooks-extra/no-redundant-custom-hook": "warn",
3332
"react-hooks-extra/no-direct-set-state-in-use-effect": "warn",
33+
"react-hooks-extra/no-redundant-custom-hook": "warn",
3434
"react-hooks-extra/prefer-use-state-lazy-initialization": "warn",
3535
},
3636
},

packages/plugins/eslint-plugin-react-web-api/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ export default [
2525
"react-web-api": reactWebAPI,
2626
rules: {
2727
// react-web-api recommended rules
28-
"react-web-api/no-leaked-timeout": "error",
29-
"react-web-api/no-leaked-interval": "error",
30-
"react-web-api/no-leaked-event-listener": "error",
31-
"react-web-api/no-leaked-resize-observer": "error",
28+
"react-web-api/no-leaked-event-listener": "warn",
29+
"react-web-api/no-leaked-interval": "warn",
30+
"react-web-api/no-leaked-resize-observer": "warn",
31+
"react-web-api/no-leaked-timeout": "warn",
3232
}
3333
],
3434
},

packages/plugins/eslint-plugin-react-x/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default [
5252
"react-x/no-forward-ref": "warn",
5353
"react-x/no-implicit-key": "warn",
5454
"react-x/no-missing-key": "error",
55-
"react-x/no-nested-components": "warn",
55+
"react-x/no-nested-components": "error",
5656
"react-x/no-prop-types": "error",
5757
"react-x/no-redundant-should-component-update": "error",
5858
"react-x/no-set-state-in-component-did-mount": "warn",
@@ -62,8 +62,8 @@ export default [
6262
"react-x/no-unsafe-component-will-mount": "warn",
6363
"react-x/no-unsafe-component-will-receive-props": "warn",
6464
"react-x/no-unsafe-component-will-update": "warn",
65-
"react-x/no-unstable-context-value": "error",
66-
"react-x/no-unstable-default-props": "error",
65+
"react-x/no-unstable-context-value": "warn",
66+
"react-x/no-unstable-default-props": "warn",
6767
"react-x/no-unused-class-component-members": "warn",
6868
"react-x/no-unused-state": "warn",
6969
},

0 commit comments

Comments
 (0)