From d75b136ad4e8ca38e734ee5823fa47ca42a250ef Mon Sep 17 00:00:00 2001 From: Gajus Date: Fri, 23 Aug 2024 18:54:42 +0300 Subject: [PATCH] feat: remove simple-import-sort --- COMPARISON_TABLE.md | 2 -- configurations/canonical.js | 8 -------- package-lock.json | 9 --------- package.json | 1 - 4 files changed, 20 deletions(-) diff --git a/COMPARISON_TABLE.md b/COMPARISON_TABLE.md index e205bf1..3be43d1 100644 --- a/COMPARISON_TABLE.md +++ b/COMPARISON_TABLE.md @@ -884,8 +884,6 @@ Configurations: |[`semi`](https://eslint.org/docs/rules/semi) 🛠|🚨|🚨|🚨?|🚨?|🚨| |[`semi-spacing`](https://eslint.org/docs/rules/semi-spacing) 🛠|🚨|🚨|🚨?|🚨|🚨| |[`semi-style`](https://eslint.org/docs/rules/semi-style) 🛠|🚨|🚨|👻|👻|🚨| -|`simple-import-sort/exports` 🛠|🚨|👻|👻|👻|👻| -|`simple-import-sort/imports` 🛠|🚨|👻|👻|👻|👻| |[`sort-imports`](https://eslint.org/docs/rules/sort-imports) 🛠|❌|❌|👻|👻|👻| |[`sort-keys`](https://eslint.org/docs/rules/sort-keys)|❌|❌|👻|👻|👻| |[`sort-vars`](https://eslint.org/docs/rules/sort-vars) 🛠|🚨|❌|👻|👻|👻| diff --git a/configurations/canonical.js b/configurations/canonical.js index fc9c6d2..0624771 100644 --- a/configurations/canonical.js +++ b/configurations/canonical.js @@ -207,7 +207,6 @@ module.exports.recommended = { import: require('eslint-plugin-import'), perfectionist: require('eslint-plugin-perfectionist'), promise: require('eslint-plugin-promise'), - 'simple-import-sort': require('eslint-plugin-simple-import-sort'), unicorn: require('eslint-plugin-unicorn'), }, rules: { @@ -666,13 +665,6 @@ module.exports.recommended = { }, ], 'semi-style': [2, 'last'], - 'simple-import-sort/exports': 2, - 'simple-import-sort/imports': [ - 2, - { - groups: [], - }, - ], 'sort-imports': 0, 'sort-keys': 0, 'sort-vars': 2, diff --git a/package-lock.json b/package-lock.json index 6fcf242..0f104ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,6 @@ "eslint-plugin-react": "^7.35.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-regexp": "^2.6.0", - "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-typescript-sort-keys": "^3.2.0", "eslint-plugin-unicorn": "^55.0.0", "eslint-plugin-vitest": "^0.5.4", @@ -5991,14 +5990,6 @@ "eslint": ">=8.44.0" } }, - "node_modules/eslint-plugin-simple-import-sort": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz", - "integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==", - "peerDependencies": { - "eslint": ">=5.0.0" - } - }, "node_modules/eslint-plugin-typescript-sort-keys": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/eslint-plugin-typescript-sort-keys/-/eslint-plugin-typescript-sort-keys-3.2.0.tgz", diff --git a/package.json b/package.json index b5b73ec..c59b265 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "eslint-plugin-react": "^7.35.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-regexp": "^2.6.0", - "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-typescript-sort-keys": "^3.2.0", "eslint-plugin-unicorn": "^55.0.0", "eslint-plugin-vitest": "^0.5.4",