We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9987b commit 9cbf792Copy full SHA for 9cbf792
.eslintrc.js
@@ -7,7 +7,7 @@ module.exports = {
7
'eslint-config-prettier'
8
],
9
parser: '@typescript-eslint/parser',
10
- plugins: ['@typescript-eslint', 'eslint-plugin-jest'],
+ plugins: ['@typescript-eslint', 'eslint-plugin-node', 'eslint-plugin-jest'],
11
rules: {
12
'@typescript-eslint/no-require-imports': 'error',
13
'@typescript-eslint/no-non-null-assertion': 'off',
@@ -28,7 +28,8 @@ module.exports = {
28
}
29
30
'no-control-regex': 'off',
31
- 'no-constant-condition': ['error', {checkLoops: false}]
+ 'no-constant-condition': ['error', {checkLoops: false}],
32
+ 'node/no-extraneous-import': 'error'
33
},
34
overrides: [
35
{
0 commit comments