Skip to content

Commit

Permalink
revert(settings): ⏪ revert eslint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
wrzrmzx committed Feb 22, 2024
1 parent 3aa2845 commit 8e868fd
Showing 1 changed file with 2 additions and 39 deletions.
41 changes: 2 additions & 39 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -62,4 +25,4 @@
"note",
"playground"
]
}
}

0 comments on commit 8e868fd

Please sign in to comment.