We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9c406 commit 181f395Copy full SHA for 181f395
eslint.config.ts
@@ -50,7 +50,25 @@ export default defineConfig(
50
},
51
],
52
'@typescript-eslint/ban-ts-comment': 'error',
53
- '@typescript-eslint/no-require-imports': 'warn',
+ '@typescript-eslint/no-require-imports': [
54
+ 'error',
55
+ {
56
+ allow: [
57
+ 'babel',
58
+ 'compression',
59
+ 'config.js',
60
+ 'cors',
61
+ 'express',
62
+ 'fs',
63
+ 'http',
64
+ 'https',
65
+ 'js-yaml',
66
+ 'lodash',
67
+ 'path',
68
+ 'webpack',
69
+ ],
70
+ },
71
72
// Misc
73
'no-unused-vars': 'off',
74
'prefer-const': 'error',
0 commit comments