Skip to content

Commit efb5d27

Browse files
committed
perf(lin/*.js): disable unnecessary rules
1 parent 72888bd commit efb5d27

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

lib/base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ module.exports = {
3737
'no-nested-ternary': 0,
3838
'no-underscore-dangle': 0,
3939
'no-use-before-define': 0,
40+
"no-bitwise": 0
4041
};

lib/next.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
module.exports = {
22
// Next.js overrides
33
"jsx-a11y/href-no-hash": 0,
4+
"jsx-a11y/label-has-associated-control": 0,
5+
"jsx-a11y/label-has-for": 0,
6+
"jsx-a11y/iframe-has-title": 0,
47
"jsx-a11y/anchor-is-valid": [
58
"error",
69
{

lib/react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ module.exports = {
77
],
88
"react/jsx-props-no-spreading": 0,
99
"react/prop-types": 0,
10+
"react-hooks/exhaustive-deps": 0,
1011
};

0 commit comments

Comments
 (0)