Skip to content

Commit

Permalink
chore: add forward-ref-uses-ref rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jdanil committed Oct 22, 2024
1 parent 8b4f985 commit df80272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/eslint-config/config/react.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default [
},
],
"react/forbid-component-props": "error", // recommended off
"react/forward-ref-uses-ref": "error", // recommended off
"react/function-component-definition": [
"error", // recommended off
{
Expand Down
1 change: 1 addition & 0 deletions configs/eslint-config/config/react.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ rules:
- always
- destructureInSignature: always # recommended ignore
react/forbid-component-props: error # recommended off
react/forward-ref-uses-ref: error # recommended off
react/function-component-definition:
- error # recommended off
- namedComponents: arrow-function
Expand Down

0 comments on commit df80272

Please sign in to comment.