Skip to content

Commit 3a13074

Browse files
PengBoUESTCpengbo43antfu
authored
chore: eslint rules overrides (#6729)
Co-authored-by: pengbo43 <[email protected]> Co-authored-by: Anthony Fu <[email protected]>
1 parent 534593c commit 3a13074

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.eslintrc.js

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ module.exports = {
6969
'no-restricted-globals': ['error', ...NodeGlobals],
7070
'no-restricted-syntax': 'off'
7171
}
72+
},
73+
// Node scripts
74+
{
75+
files: ['scripts/**', './*.js', 'packages/**/index.js', 'packages/size-check/**'],
76+
rules: {
77+
'no-restricted-globals': 'off',
78+
'no-restricted-syntax': 'off'
79+
}
7280
}
7381
]
7482
}

0 commit comments

Comments
 (0)