Skip to content

Commit

Permalink
fix: fix usage of recommended rules
Browse files Browse the repository at this point in the history
  • Loading branch information
susisu committed Mar 17, 2024
1 parent 66fcf70 commit 08b2d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export function config(options?: ConfigOptions, configs?: readonly Linter.FlatCo
{ rules: rules.javascript },
...(react
? [
{ rules: reactPlugin.configs.recommended },
{ rules: reactHooksPlugin.configs.recommended },
{ rules: reactPlugin.configs.recommended.rules },
{ rules: reactHooksPlugin.configs.recommended.rules },
{ rules: rules.react },
]
: []),
Expand Down

0 comments on commit 08b2d3a

Please sign in to comment.