chore: update .gitignore

This commit is contained in:
baiqi 2023-06-01 11:35:09 +08:00 committed by rubylliu
parent 576d684a85
commit b5ac311ec3
2 changed files with 33 additions and 1 deletions

2
.gitignore vendored
View File

@ -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

32
.vscode/settings.json vendored Normal file
View File

@ -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,
}