Skip to content

Commit 176975a

Browse files
chore: Simplify ESLint configuration by removing unnecessary structure
- Removed the nested "node" object from the "import/resolver" settings in `eslint.config.mjs`, streamlining the configuration. - Deleted the "import/order" rule to simplify the ESLint settings, focusing on essential linting requirements. These changes enhance the clarity and maintainability of the ESLint configuration, ensuring a more straightforward setup for code quality tools.
1 parent 1d2de23 commit 176975a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

workers/main/eslint.config.mjs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ export default [
99
settings: {
1010
'import/resolver': {
1111
typescript: {
12-
"node": {
13-
"extensions": [".ts"]
14-
}
12+
extensions: [".ts"]
1513
},
1614
},
1715
},
@@ -46,17 +44,6 @@ export default [
4644
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
4745
'no-console': 'warn',
4846
'no-debugger': 'warn',
49-
'import/order': [
50-
'error',
51-
{
52-
groups: ['builtin', 'external', 'internal'],
53-
'newlines-between': 'always',
54-
alphabetize: {
55-
order: 'asc',
56-
caseInsensitive: true,
57-
},
58-
},
59-
],
6047
'import/no-unresolved': 'error',
6148
'padding-line-between-statements': [
6249
'error',

0 commit comments

Comments
 (0)