Skip to content

Commit 87c1c70

Browse files
Merge pull request actions#494 from akv-platform/remove-implicit-dependencies
Remove implicit dependencies
2 parents 01a228c + 5e4a7c3 commit 87c1c70

File tree

3 files changed

+165
-2
lines changed

3 files changed

+165
-2
lines changed

.eslintrc.js

Lines changed: 3 additions & 2 deletions
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
{

package-lock.json

Lines changed: 161 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"eslint": "^8.35.0",
4747
"eslint-config-prettier": "^8.6.0",
4848
"eslint-plugin-jest": "^27.2.1",
49+
"eslint-plugin-node": "^11.1.0",
4950
"jest": "^27.2.5",
5051
"jest-circus": "^27.2.5",
5152
"prettier": "^2.8.4",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy