mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-01 19:27:47 +08:00
39 lines
839 B
JSON
39 lines
839 B
JSON
{
|
|
// Enable the ESlint flat config support
|
|
"eslint.experimental.useFlatConfig": true,
|
|
|
|
// Disable the default formatter, use eslint instead
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
// Enable eslint for all supported languages
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml"
|
|
],
|
|
|
|
"pair-diff.patterns": [
|
|
{
|
|
"source": "./fixtures/output/**/*.*",
|
|
"target": "./fixtures/input/<base>"
|
|
}
|
|
],
|
|
"cSpell.words": [
|
|
"unref"
|
|
]
|
|
}
|