Skip to content

Commit 1e99809

Browse files
committed
remove eslint-plugin-import
1 parent 6106d18 commit 1e99809

File tree

4 files changed

+1
-23
lines changed

4 files changed

+1
-23
lines changed

.eslintrc.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ module.exports = {
1515
'@typescript-eslint/no-namespace': 'off',
1616
},
1717
},
18-
{
19-
files: ['**/jest/*', '**/*.stories.mdx'],
20-
rules: {
21-
'import/no-extraneous-dependencies': [
22-
'error',
23-
{ devDependencies: true },
24-
],
25-
},
26-
},
2718
{
2819
// // We need to override them here, because as a result of the `extends` command pulling
2920
// // in additional plugins, the base rules settings of turning this rules off were NOT

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"enzyme-adapter-react-16": "1.15.7",
8181
"enzyme-to-json": "3.6.2",
8282
"eslint": "^8.11.0",
83-
"eslint-plugin-import": "^2.25.2",
8483
"eslint-plugin-jest": "^25.2.4",
8584
"eslint-plugin-jest-react": "^0.1.0",
8685
"eslint-plugin-jsx-a11y": "^6.4.1",

packages/eslint-config/index.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ module.exports = {
1010

1111
extends: [
1212
'eslint:recommended',
13-
'plugin:import/errors',
14-
'plugin:import/typescript',
1513
'plugin:jsx-a11y/strict',
1614
'plugin:react/recommended',
1715
'plugin:react-hooks/recommended',
@@ -39,10 +37,6 @@ module.exports = {
3937
'**/__tests__/*',
4038
],
4139
rules: {
42-
'import/no-extraneous-dependencies': [
43-
'error',
44-
{ devDependencies: true },
45-
],
4640
'@typescript-eslint/no-unsafe-assignment': 'off',
4741
'@typescript-eslint/no-unsafe-call': 'off',
4842
'@typescript-eslint/no-unsafe-member-access': 'off',
@@ -71,7 +65,6 @@ module.exports = {
7165
],
7266

7367
plugins: [
74-
'import',
7568
'jest',
7669
'jsx-a11y',
7770
'no-only-tests',
@@ -123,11 +116,7 @@ module.exports = {
123116
'default-case': 'off',
124117
'func-names': 'off',
125118
'global-require': 'off',
126-
'import/export': 'off',
127-
'import/extensions': 'off',
128-
'import/no-default-export': 'off',
129-
'import/no-unresolved': 'off',
130-
'import/prefer-default-export': 'off',
119+
131120
'lines-between-class-members': 'off',
132121
'max-classes-per-file': 'off',
133122
'no-bitwise': 'off',

packages/eslint-config/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"@typescript-eslint/parser": "^8.31.0",
2828
"eslint-config-prettier": "^10.1.2",
2929
"eslint-mdx": "^3.4.1",
30-
"eslint-plugin-import": "^2.31.0",
3130
"eslint-plugin-jest": "^28.11.0",
3231
"eslint-plugin-jsx-a11y": "^6.10.2",
3332
"eslint-plugin-no-only-tests": "^3.3.0",

0 commit comments

Comments
 (0)