更新 .gitignore 文件,增加 Vite 项目和 macOS 系统文件的忽略配置

This commit is contained in:
YuanFeng 2024-07-02 22:30:33 +08:00
parent 6b37e2f4e2
commit c701b1a873
2 changed files with 76 additions and 6 deletions

75
.gitignore vendored
View File

@ -1,17 +1,17 @@
# ---> Java
# Compiled class file
# 编译后的类文件
*.class
# Log file
# 日志文件
*.log
# BlueJ files
# BlueJ 文件
*.ctxt
# Mobile Tools for Java (J2ME)
# 移动工具 for Java (J2ME)
.mtj.tmp/
# Package Files #
# 包文件
*.jar
*.war
*.nar
@ -20,7 +20,70 @@
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
# 虚拟机崩溃日志,详见 http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*
# 项目帮助文档
HELP.md
# Maven 生成的目标文件夹
/target/
/**/target/
# 保留 Maven wrapper 的 jar 文件
!.mvn/wrapper/maven-wrapper.jar
### STS (Spring Tool Suite) ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea/
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
/build/
### VS Code ###
.vscode/
rebel-remote.xml
rebel.xml
### Vite 项目 ###
node_modules/
dist/
*.local
*.env.local
*.env.*.local
.vite/deps
### macOS 系统文件 ###
.DS_Store
.AppleDouble
.LSOverride
# 见 http://kb.mozillazine.org/Profiles.ini_file
\Icon
\Icon?
.DS_Store
._*
.Spotlight-V100
.Trashes
__MACOSX
*/.Spotlight-V100
*/.Trashes
# 自定义目录
/logs

View File

@ -0,0 +1,7 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="Stylelint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>