Skip to content

Commit f01d286

Browse files
committed
Remove ESLint import-related packages
1 parent 38729c5 commit f01d286

File tree

3 files changed

+1
-711
lines changed

3 files changed

+1
-711
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,44 +12,20 @@ module.exports = {
1212
es2017: true,
1313
node: true,
1414
},
15-
plugins: [
16-
'import',
17-
'import-no-duplicates-prefix-resolved-path',
18-
'simple-import-sort',
19-
'@typescript-eslint',
20-
],
15+
plugins: ['simple-import-sort', '@typescript-eslint'],
2116
extends: [
2217
'eslint:recommended',
2318
'plugin:@typescript-eslint/recommended',
2419
'plugin:@typescript-eslint/strict-type-checked',
2520
'plugin:@typescript-eslint/stylistic-type-checked',
2621
'prettier',
2722
],
28-
settings: {
29-
'import/parsers': {
30-
'@typescript-eslint/parser': ['.cjs', '.js', '.ts'],
31-
},
32-
'import/resolver': {
33-
typescript: {
34-
alwaysTryTypes: true,
35-
},
36-
},
37-
},
3823
rules: {
3924
'no-unused-vars': 'off',
4025
// Useful for triggering Svelte reactivity
4126
'no-self-assign': 'off',
4227
'simple-import-sort/imports': 'error',
4328
'simple-import-sort/exports': 'error',
44-
'import/first': 'error',
45-
'import/newline-after-import': 'error',
46-
'import/no-duplicates': 'off',
47-
'import-no-duplicates-prefix-resolved-path/no-duplicates': [
48-
'error',
49-
{
50-
prefixResolvedPathWithImportName: true,
51-
},
52-
],
5329
'@typescript-eslint/no-unused-vars': [
5430
'error',
5531
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
@@ -89,7 +65,6 @@ module.exports = {
8965
{
9066
files: ['./scripts/testing/load/tests/**/*.js'],
9167
rules: {
92-
'import/no-unresolved': 'off',
9368
'@typescript-eslint/no-unsafe-assignment': 'off',
9469
'@typescript-eslint/no-unsafe-call': 'off',
9570
'@typescript-eslint/no-unsafe-member-access': 'off',

0 commit comments

Comments
 (0)