chore: update config (#40)

This commit is contained in:
Sam 2023-10-15 21:26:41 +08:00 committed by GitHub
parent f8502c77ad
commit 616b5d7fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,14 +3,17 @@
"*.css": "postcss" "*.css": "postcss"
}, },
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
// Disable the default formatter // Disable the default formatter
"prettier.enable": false, "prettier.enable": false,
"editor.formatOnSave": false, "editor.formatOnSave": false,
// Auto fix // Auto fix
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true, "source.fixAll": "explicit",
"source.organizeImports": false "source.organizeImports": "never"
}, },
// Silent the stylistic rules in you IDE, but still auto fix them // Silent the stylistic rules in you IDE, but still auto fix them