Skip to content

Commit 9cbf792

Browse files
Update configuration files
1 parent db9987b commit 9cbf792

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.eslintrc.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
'eslint-config-prettier'
88
],
99
parser: '@typescript-eslint/parser',
10-
plugins: ['@typescript-eslint', 'eslint-plugin-jest'],
10+
plugins: ['@typescript-eslint', 'eslint-plugin-node', 'eslint-plugin-jest'],
1111
rules: {
1212
'@typescript-eslint/no-require-imports': 'error',
1313
'@typescript-eslint/no-non-null-assertion': 'off',
@@ -28,7 +28,8 @@ module.exports = {
2828
}
2929
],
3030
'no-control-regex': 'off',
31-
'no-constant-condition': ['error', {checkLoops: false}]
31+
'no-constant-condition': ['error', {checkLoops: false}],
32+
'node/no-extraneous-import': 'error'
3233
},
3334
overrides: [
3435
{

0 commit comments

Comments
 (0)