Skip to content

Commit

Permalink
enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tokyo committed Jan 17, 2024
1 parent f8dbb42 commit 1926a38
Show file tree
Hide file tree
Showing 3 changed files with 1,929 additions and 1,450 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-react-hooks-docs": "^0.0.1",
"eslint-plugin-react-perf": "^3.3.0",
"in-publish": "^2.0.1",
"react": ">= 0.13.0",
Expand All @@ -88,6 +89,7 @@
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-react-hooks-docs": "^0.0.1",
"eslint-plugin-react-perf": "^3"
},
"engines": {
Expand All @@ -100,4 +102,4 @@
"url": "https://github.com/A-Tokyo"
}
]
}
}
4 changes: 2 additions & 2 deletions rules/react.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
plugins: ['react', 'eslint-plugin-react-perf'],
plugins: ['react', 'eslint-plugin-react-perf', 'eslint-plugin-react-hooks-docs'],

extends: ['plugin:react-perf/recommended'],
extends: ['plugin:react-perf/recommended', 'plugin:eslint-plugin-react-hooks-docs/recommended'],

parserOptions: {
ecmaFeatures: {
Expand Down
Loading

0 comments on commit 1926a38

Please sign in to comment.