Skip to content

Commit 5ffb253

Browse files
committed
bring back plugin-import
1 parent 61491bf commit 5ffb253

File tree

4 files changed

+184
-392
lines changed

4 files changed

+184
-392
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"enzyme": "3.11.0",
8181
"enzyme-adapter-react-16": "1.15.7",
8282
"enzyme-to-json": "3.6.2",
83-
"eslint": "^8.11.0",
83+
"eslint": "^8.57.1",
8484
"eslint-plugin-jest": "^28.11.0",
8585
"eslint-plugin-jest-react": "^0.1.0",
8686
"eslint-plugin-jsx-a11y": "^6.10.2",
@@ -105,7 +105,7 @@
105105
"semver": "7.7.1",
106106
"syncpack": "^14.0.0-alpha.10",
107107
"turbo": "^1.1.2",
108-
"typescript": "4.4.2"
108+
"typescript": "5.8.3"
109109
},
110110
"packageManager": "[email protected]"
111111
}

packages/eslint-config/index.js

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

1111
extends: [
1212
'eslint:recommended',
13+
'plugin:import/errors',
14+
'plugin:import/typescript',
1315
'plugin:jsx-a11y/strict',
1416
'plugin:react/recommended',
1517
'plugin:react-hooks/recommended',
@@ -65,6 +67,7 @@ module.exports = {
6567
],
6668

6769
plugins: [
70+
'import',
6871
'jest',
6972
'jsx-a11y',
7073
'no-only-tests',
@@ -117,7 +120,11 @@ module.exports = {
117120
'default-case': 'off',
118121
'func-names': 'off',
119122
'global-require': 'off',
120-
123+
// 'import/export': 'off',
124+
// 'import/extensions': 'off',
125+
// 'import/no-default-export': 'off',
126+
// 'import/no-unresolved': 'off',
127+
// 'import/prefer-default-export': 'off',
121128
'lines-between-class-members': 'off',
122129
'max-classes-per-file': 'off',
123130
'no-bitwise': 'off',

packages/eslint-config/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
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.25.2",
3031
"eslint-plugin-jest": "^28.11.0",
3132
"eslint-plugin-jsx-a11y": "^6.10.2",
3233
"eslint-plugin-no-only-tests": "^3.3.0",
@@ -37,7 +38,7 @@
3738
"yargs": "^17.7.2"
3839
},
3940
"devDependencies": {
40-
"eslint": "^8.11.0"
41+
"eslint": "^8.57.1"
4142
},
4243
"publishConfig": {
4344
"access": "public"

0 commit comments

Comments
 (0)