Skip to content

Commit ed2105b

Browse files
authored
chore: generate .gitignore from toptal templates with custom additions (#72)
* chore: add .claude/ to .gitignore Prevent Claude Code settings from being accidentally committed. * chore: generate .gitignore from toptal templates with custom additions
1 parent 2a537d7 commit ed2105b

File tree

1 file changed

+108
-41
lines changed

1 file changed

+108
-41
lines changed

.gitignore

Lines changed: 108 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,93 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/java,maven,python
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=java,maven,python
1+
# Created by https://www.toptal.com/developers/gitignore/api/python,intellij+all,visualstudiocode
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,intellij+all,visualstudiocode
33

4-
### Java ###
5-
# Compiled class file
6-
*.class
4+
### Intellij+all ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
77

8-
# Log file
9-
*.log
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
1014

11-
# BlueJ files
12-
*.ctxt
15+
# AWS User-specific
16+
.idea/**/aws.xml
1317

14-
# Mobile Tools for Java (J2ME)
15-
.mtj.tmp/
18+
# Generated files
19+
.idea/**/contentModel.xml
1620

17-
# Package Files #
18-
*.jar
19-
*.war
20-
*.nar
21-
*.ear
22-
*.zip
23-
*.tar.gz
24-
*.rar
21+
# Sensitive or high-churn files
22+
.idea/**/dataSources/
23+
.idea/**/dataSources.ids
24+
.idea/**/dataSources.local.xml
25+
.idea/**/sqlDataSources.xml
26+
.idea/**/dynamic.xml
27+
.idea/**/uiDesigner.xml
28+
.idea/**/dbnavigator.xml
2529

26-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
27-
hs_err_pid*
28-
replay_pid*
30+
# Gradle
31+
.idea/**/gradle.xml
32+
.idea/**/libraries
2933

30-
### Maven ###
31-
target/
32-
pom.xml.tag
33-
pom.xml.releaseBackup
34-
pom.xml.versionsBackup
35-
pom.xml.next
36-
release.properties
37-
dependency-reduced-pom.xml
38-
buildNumber.properties
39-
.mvn/timing.properties
40-
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
41-
.mvn/wrapper/maven-wrapper.jar
42-
43-
# Eclipse m2e generated files
44-
# Eclipse Core
45-
.project
46-
# JDT-specific (Eclipse Java Development Tools)
47-
.classpath
34+
# Gradle and Maven with auto-import
35+
# When using Gradle or Maven with auto-import, you should exclude module files,
36+
# since they will be recreated, and may cause churn. Uncomment if using
37+
# auto-import.
38+
# .idea/artifacts
39+
# .idea/compiler.xml
40+
# .idea/jarRepositories.xml
41+
# .idea/modules.xml
42+
# .idea/*.iml
43+
# .idea/modules
44+
# *.iml
45+
# *.ipr
46+
47+
# CMake
48+
cmake-build-*/
49+
50+
# Mongo Explorer plugin
51+
.idea/**/mongoSettings.xml
52+
53+
# File-based project format
54+
*.iws
55+
56+
# IntelliJ
57+
out/
58+
59+
# mpeltonen/sbt-idea plugin
60+
.idea_modules/
61+
62+
# JIRA plugin
63+
atlassian-ide-plugin.xml
64+
65+
# Cursive Clojure plugin
66+
.idea/replstate.xml
67+
68+
# SonarLint plugin
69+
.idea/sonarlint/
70+
71+
# Crashlytics plugin (for Android Studio and IntelliJ)
72+
com_crashlytics_export_strings.xml
73+
crashlytics.properties
74+
crashlytics-build.properties
75+
fabric.properties
76+
77+
# Editor-based Rest Client
78+
.idea/httpRequests
79+
80+
# Android studio 3.1+ serialized cache file
81+
.idea/caches/build_file_checksums.ser
82+
83+
### Intellij+all Patch ###
84+
# Ignore everything but code style settings and run configurations
85+
# that are supposed to be shared within teams.
86+
87+
.idea/*
88+
89+
!.idea/codeStyles
90+
!.idea/runConfigurations
4891

4992
### Python ###
5093
# Byte-compiled / optimized / DLL files
@@ -105,6 +148,7 @@ cover/
105148
*.pot
106149

107150
# Django stuff:
151+
*.log
108152
local_settings.py
109153
db.sqlite3
110154
db.sqlite3-journal
@@ -121,6 +165,7 @@ docs/_build/
121165

122166
# PyBuilder
123167
.pybuilder/
168+
target/
124169

125170
# Jupyter Notebook
126171
.ipynb_checkpoints
@@ -216,4 +261,26 @@ poetry.toml
216261
# LSP config files
217262
pyrightconfig.json
218263

219-
# End of https://www.toptal.com/developers/gitignore/api/java,maven,python
264+
### VisualStudioCode ###
265+
.vscode/*
266+
!.vscode/settings.json
267+
!.vscode/tasks.json
268+
!.vscode/launch.json
269+
!.vscode/extensions.json
270+
!.vscode/*.code-snippets
271+
272+
# Local History for Visual Studio Code
273+
.history/
274+
275+
# Built Visual Studio Code Extensions
276+
*.vsix
277+
278+
### VisualStudioCode Patch ###
279+
# Ignore all local history of files
280+
.history
281+
.ionide
282+
283+
# End of https://www.toptal.com/developers/gitignore/api/python,intellij+all,visualstudiocode
284+
285+
# Claude Code
286+
.claude/

0 commit comments

Comments
 (0)