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"
|
"*.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,
|
"prettier.enable": false,
|
||||||
"editor.formatOnSave": false,
|
"editor.formatOnSave": false,
|
||||||
|
|
||||||
@@ -26,10 +29,7 @@
|
|||||||
{ "rule": "*semi", "severity": "off" }
|
{ "rule": "*semi", "severity": "off" }
|
||||||
],
|
],
|
||||||
|
|
||||||
// The following is optional.
|
// Enable eslint for all supported languages
|
||||||
// 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.
|
|
||||||
"eslint.validate": [
|
"eslint.validate": [
|
||||||
"javascript",
|
"javascript",
|
||||||
"javascriptreact",
|
"javascriptreact",
|
||||||
|
|||||||
Reference in new issue
Block a user