Skip to content

Commit a6e30e2

Browse files
BahinkorASafaeirad
authored andcommitted
feat: Add new plugin options to react file & delete pnpm-lock.yaml file
1 parent e5d876b commit a6e30e2

File tree

5 files changed

+7
-10651
lines changed

5 files changed

+7
-10651
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You can fine-tune module detection by overriding it, the `defineConfig` function
5050

5151
```typescript
5252
interface Options {
53-
react?: boolean | { version?: string; additionalEffectHooks?: string }; // controls react, react-hooks, jsx/a11y plugins
53+
react?: boolean; // controls react, react-hooks, jsx/a11y plugins
5454
typescript?: ParserOptions // https://typescript-eslint.io/packages/parser#configuration
5555
node?: boolean; // controls node plugin
5656
sort?: boolean; // controls perfectionist plugin

eslint.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ export default defineConfig(
1212
vitest: true,
1313
next: false,
1414
cypress: true,
15-
react: {
16-
additionalEffectHooks: '(useMyEffect|useCustomEffect)',
17-
},
15+
react: true,
1816
storybook: true,
1917
typescript: true,
2018
tailwind: false,

0 commit comments

Comments
 (0)