chore: update .gitignore
This commit is contained in:
parent
576d684a85
commit
b5ac311ec3
|
@ -12,7 +12,6 @@ pnpm-error.log*
|
|||
.idea/*
|
||||
!.idea/icon.png
|
||||
**/*.iml
|
||||
.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
|
@ -20,6 +19,7 @@ pnpm-error.log*
|
|||
*.sw?
|
||||
.mvn
|
||||
!.mvn/maven-wrapper.properties
|
||||
.history
|
||||
|
||||
src/main/resources/static
|
||||
src/main/resources/templates
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"typescript.tsdk": "/frontend/node_modules/typescript/lib",
|
||||
"editor.codeActionsOnSave": {
|
||||
"eslint.autoFixOnSave": true,
|
||||
"source.fixAll.stylelint": true, // 开启stylelint自动修复
|
||||
},
|
||||
"editor.formatOnSave": true,
|
||||
"eslint.validate": [
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"html",
|
||||
"vue",
|
||||
"markdown",
|
||||
"json",
|
||||
"jsonc"
|
||||
],
|
||||
// 配置stylelint检查的文件类型范围
|
||||
"stylelint.validate": [
|
||||
"css",
|
||||
"less",
|
||||
"postcss",
|
||||
"scss",
|
||||
"sass",
|
||||
"vue"
|
||||
],
|
||||
"stylelint.enable": true,
|
||||
"css.validate": false,
|
||||
"less.validate": false,
|
||||
"scss.validate": false,
|
||||
}
|
Loading…
Reference in New Issue