Skip to content

Commit 4af2e3b

Browse files
committed
turn off require
1 parent ed6411b commit 4af2e3b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.eslintrc.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,20 @@ module.exports = {
2424
],
2525
},
2626
},
27+
{
28+
files: ['*.js'],
29+
rules: {
30+
// // We use require many times in this repository, so we need to turn this off.
31+
'@typescript-eslint/no-require-imports': 'off',
32+
},
33+
},
2734
{
2835
// // We need to override them here, because as a result of the `extends` command pulling
2936
// // in additional plugins, the base rules settings of turning this rules off were NOT
3037
// // being respected. By moving them into this override definition, they are properly
3138
// // being applied to subsequent plugin imports/extensions. Wild.
3239
files: ['*.tsx', '*.ts'],
3340
rules: {
34-
// // We use require many times in this repository, so we need to turn this off.
35-
'@typescript-eslint/no-explicit-any': 'off',
3641
// // These rules could be useful, but we haven't gotten around to enabling them here
3742
// // See WEB-2 for general tracking.
3843
'@typescript-eslint/no-explicit-any': 'off',

0 commit comments

Comments
 (0)