Skip to content

Commit

Permalink
fix(config): implemented @eslint-react/eslint-plugin manually
Browse files Browse the repository at this point in the history
Fixes #244
  • Loading branch information
AndreaPontrandolfo committed Aug 29, 2024
1 parent a52a944 commit b9f772c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/eslint-config-sheriff/src/getReactConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export const getReactConfig = (
},
{
files: [supportedFileTypes],
...rel1cxReact.configs.off,
},
{
files: [supportedFileTypes],
plugins: {
'@eslint-react/hooks-extra': rel1cxReact,
'@eslint-react': rel1cxReact,
},
rules: {
'@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks': 2,
'@eslint-react/no-leaked-conditional-rendering': 2,
Expand Down

0 comments on commit b9f772c

Please sign in to comment.