Remove simple-import-sort since it's annoying with svelte

This commit is contained in:
Tobias Berger 2021-09-28 13:29:14 +02:00
parent 41d1502615
commit 1ff92d152d
3 changed files with 1 additions and 11 deletions

View file

@ -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",
},
};

View file

@ -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",

View file

@ -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"