chore: fix eslint vscode setup
This commit is contained in:
1 parent
ea6033cfe9
commit
aa30218698
1 file changed
+5
-5
Vendored
+5
-5
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user