Skip to content

Commit 4c8123d

Browse files
committed
Let's try removing unnecessary import.
1 parent d13228e commit 4c8123d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

eslint.config.mjs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import typescriptParser from '@typescript-eslint/parser';
44
import tseslint from 'typescript-eslint';
55

66
import authressConfig from '@authress/eslint-config/lib/index.js';
7-
import importPlugin from 'eslint-plugin-import';
87

98
const globalVariables = {
109
...globals.browser,
@@ -35,12 +34,9 @@ export default [
3534
globals: globalVariables
3635
},
3736
settings: {
38-
'import/resolver': {
39-
node: true
40-
}
4137
},
4238
plugins: {
43-
import: importPlugin
39+
// import: importPlugin
4440
},
4541
rules: {
4642
'arrow-parens': ['error', 'as-needed'],
@@ -89,17 +85,15 @@ export default [
8985
},
9086
rules: {
9187
'no-empty-function': 'off',
92-
'@typescript-eslint/no-empty-function': 'off',
93-
'import/no-extraneous-dependencies': ['error', { devDependencies: true }]
88+
'@typescript-eslint/no-empty-function': 'off'
9489
}
9590
},
9691

9792
// Build scripts: allow process.exit() and devDependency imports
9893
{
9994
files: ['make.js'],
10095
rules: {
101-
'n/no-process-exit': 'off',
102-
'import/no-extraneous-dependencies': ['error', { devDependencies: true }]
96+
'n/no-process-exit': 'off'
10397
}
10498
}
10599
];

0 commit comments

Comments
 (0)