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/*
!.idea/icon.png !.idea/icon.png
**/*.iml **/*.iml
.vscode
*.suo *.suo
*.ntvs* *.ntvs*
*.njsproj *.njsproj
@ -20,6 +19,7 @@ pnpm-error.log*
*.sw? *.sw?
.mvn .mvn
!.mvn/maven-wrapper.properties !.mvn/maven-wrapper.properties
.history
src/main/resources/static src/main/resources/static
src/main/resources/templates 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,
}