Skip to content

Commit

Permalink
fix: remove react hooks
Browse files Browse the repository at this point in the history
in a lot of cases we don't need this and should control it by yourself
  • Loading branch information
MatthewPattell committed Feb 29, 2024
1 parent 30f1ff6 commit 69c00fb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
11 changes: 0 additions & 11 deletions configs/react-hooks.js

This file was deleted.

2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import baseConfig from '@lomray/eslint-config';
import react from './configs/react.js';
import reactHooks from './configs/react-hooks.js';
import jsx from './configs/jsx-a11y.js';
import base from './configs/base.js';

const reactConfig = [
base,
react,
reactHooks,
jsx,
];

Expand Down
16 changes: 2 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lomray/eslint-config-react",
"version": "5.0.5",
"version": "5.0.6",
"description": "This package provides Lomray eslint config as an extensible shared config for React.",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -28,7 +28,6 @@
"@lomray/eslint-config": "^5.0.3",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"globals": "^14.0.0"
}
}

0 comments on commit 69c00fb

Please sign in to comment.