chore: fix eslint vscode setup

This commit is contained in:
Anthony Fu committed 2023-09-28 08:47:47 +08:00
1 parent ea6033cfe9
commit aa30218698
1 file changed
+5 -5
+5 -5
View File
@@ -3,7 +3,10 @@
"*.css": "postcss"
},
// Disable the default formatter
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
@@ -26,10 +29,7 @@
{ "rule": "*semi", "severity": "off" }
],
// The following is optional.
// It's better to put under project setting `.vscode/settings.json`
// to avoid conflicts with working with different eslint configs
// that does not support all formats.
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",