This fixes the constant eslint error and warnings in the repository. It is mostly a temporally solution rather than a actual refactor, so a lot of eslint-disable comments where used.
34 lines
687 B
JSON
34 lines
687 B
JSON
{
|
|
"eslint.experimental.useFlatConfig": true,
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": true,
|
|
"source.organizeImports": false,
|
|
},
|
|
// 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.
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml"
|
|
],
|
|
"cSpell.words": [
|
|
"eslegant",
|
|
"estree",
|
|
"nanospinner",
|
|
"picocolors",
|
|
"picomatch",
|
|
"sisteransi"
|
|
]
|
|
}
|