Skip to content

Commit 0c8deb6

Browse files
Merge pull request #598 from seekingalpha/fix/oxlint-react-hooks
[TECH] fix oxlint react hooks config
2 parents 060de7c + fe5bc67 commit 0c8deb6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
22
plugins: ['react'],
33
rules: {
4-
'react-hooks/rules-of-hooks': 'error',
5-
'react-hooks/exhaustive-deps': 'error',
4+
'react/rules-of-hooks': 'error',
5+
'react/exhaustive-deps': 'error',
66
},
77
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "seekingalpha-javascript-style",
3-
"version": "9.98.0",
3+
"version": "9.98.1",
44
"description": "Set of linting rules, guides and best practices for best Javascript code",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)