Skip to content

Commit 17d5cc6

Browse files
committedOct 22, 2023
fix: add new rule ignore for import order
1 parent 9defe1f commit 17d5cc6

File tree

3 files changed

+44
-36
lines changed

3 files changed

+44
-36
lines changed
 

‎index.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ config.push({
1111
rules: {
1212
// this doesn't like the ordering of types at the end of the imports
1313
'sort-imports': ['off'],
14+
'import/order': ['off'],
1415

1516
// Prettier can handle this setting, see https://eslint.org/docs/latest/rules/curly#consistent
1617
curly: ['error', 'multi', 'consistent'],

‎package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@jcamp/eslint-config",
33
"type": "module",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "JohnCampionJr's ESLint config",
66
"author": "John Campion (https://github.com/JohnCampionJr/)",
77
"license": "MIT",
@@ -26,17 +26,17 @@
2626
"clean": "prettier . --write"
2727
},
2828
"peerDependencies": {
29-
"eslint": ">=8.51.0",
29+
"eslint": ">=8.52.0",
3030
"prettier": ">=3.0.3"
3131
},
3232
"dependencies": {
33-
"@antfu/eslint-config": "^1.0.0-beta.24",
34-
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
33+
"@antfu/eslint-config": "^1.0.0-beta.27",
34+
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
3535
"eslint-config-prettier": "^9.0.0",
36-
"prettier-plugin-tailwindcss": "^0.5.5"
36+
"prettier-plugin-tailwindcss": "^0.5.6"
3737
},
3838
"devDependencies": {
39-
"eslint": "^8.51.0",
39+
"eslint": "^8.52.0",
4040
"prettier": "^3.0.3"
4141
}
4242
}

‎pnpm-lock.yaml

+37-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.