From 8e868fd17fdd8eb1b3746738d915c1d64a8cd240 Mon Sep 17 00:00:00 2001 From: Lurantis <1510033076@qq.com> Date: Thu, 22 Feb 2024 23:07:36 +0800 Subject: [PATCH] revert(settings): :rewind: revert eslint settings --- .vscode/settings.json | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 77e3bde..808b72d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,46 +3,9 @@ "i18n-ally.keystyle": "nested", "i18n-ally.sourceLanguage": "zh-Hans", "typescript.tsdk": "./node_modules/typescript/lib", - - /* https://github.com/antfu/eslint-config */ - // Enable the ESlint flat config support - "eslint.experimental.useFlatConfig": true, - // Disable the default formatter, use eslint instead - "prettier.enable": false, - "editor.formatOnSave": false, - // Auto fix "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit", - "source.organizeImports": "never" + "source.fixAll.eslint": "explicit" }, - // Silent the stylistic rules in you IDE, but still auto fix them - "eslint.rules.customizations": [ - { "rule": "style/*", "severity": "off" }, - { "rule": "format/*", "severity": "off" }, - { "rule": "*-indent", "severity": "off" }, - { "rule": "*-spacing", "severity": "off" }, - { "rule": "*-spaces", "severity": "off" }, - { "rule": "*-order", "severity": "off" }, - { "rule": "*-dangle", "severity": "off" }, - { "rule": "*-newline", "severity": "off" }, - { "rule": "*quotes", "severity": "off" }, - { "rule": "*semi", "severity": "off" } - ], - // Enable eslint for all supported languages - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "html", - "markdown", - "json", - "jsonc", - "yaml", - "toml" - ], - "conventionalCommits.scopes": [ "deps", "user", @@ -62,4 +25,4 @@ "note", "playground" ] -} +} \ No newline at end of file