From 1ff92d152ddea7ed9956173319f761deae6a2883 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Tue, 28 Sep 2021 13:29:14 +0200 Subject: [PATCH] Remove simple-import-sort since it's annoying with svelte --- .eslintrc.cjs | 6 +----- package.json | 1 - yarn.lock | 5 ----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 2606114..d17a40f 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -2,7 +2,7 @@ module.exports = { root: true, parser: "@typescript-eslint/parser", extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], - plugins: ["svelte3", "@typescript-eslint", "simple-import-sort"], + plugins: ["svelte3", "@typescript-eslint"], overrides: [ { files: ["*.svelte"], processor: "svelte3/svelte3" }, { files: ["*.[cm]js"], env: { node: true } }, @@ -20,8 +20,4 @@ module.exports = { es2021: true, node: false, }, - rules: { - "simple-import-sort/imports": "warn", - "simple-import-sort/exports": "warn", - }, }; diff --git a/package.json b/package.json index 196c05e..6b98ec1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-svelte3": "^3.2.1", "postcss": "^8.3.8", "prettier": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index d87f2e4..8a392c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -570,11 +570,6 @@ eslint-plugin-prettier@^4.0.0: dependencies: prettier-linter-helpers "^1.0.0" -eslint-plugin-simple-import-sort@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-7.0.0.tgz#a1dad262f46d2184a90095a60c66fef74727f0f8" - integrity sha512-U3vEDB5zhYPNfxT5TYR7u01dboFZp+HNpnGhkDB2g/2E4wZ/g1Q9Ton8UwCLfRV9yAKyYqDh62oHOamvkFxsvw== - eslint-plugin-svelte3@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/eslint-plugin-svelte3/-/eslint-plugin-svelte3-3.2.1.tgz#f0f24150ecea3061c38c69e282bea26dc3e660c6"