mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-11-29 18:28:09 +08:00
74fa0ba122
* feat: 升级 eslint 配置及版本 * feat(plugin-layout): 支持配置 403、404 的 navigation * docs: 补充文档
36 lines
794 B
JSON
36 lines
794 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>"
|
|
}
|
|
]
|
|
}
|