Skip to content

Commit f29a759

Browse files
committed
docs(update .gitignore): 🎨 improve the .gitignore
added more files to be ignore it will be useful when the project will grow in big
1 parent e423e94 commit f29a759

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.gitignore

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
/target
1+
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2+
# Created by https://www.toptal.com/developers/gitignore/api/linux,rust,rust-analyzer
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,rust,rust-analyzer
4+
5+
### Linux ###
6+
*~
7+
8+
# temporary files which can be created if a process still has a handle open of a deleted file
9+
.fuse_hidden*
10+
11+
# KDE directory preferences
12+
.directory
13+
14+
# Linux trash folder which might appear on any partition or disk
15+
.Trash-*
16+
17+
# .nfs files are created when an open file is removed but is still being accessed
18+
.nfs*
19+
20+
### Rust ###
21+
# Generated by Cargo
22+
# will have compiled files and executables
23+
debug/
24+
target/
25+
26+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
27+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
28+
Cargo.lock
29+
30+
# These are backup files generated by rustfmt
31+
**/*.rs.bk
32+
33+
# MSVC Windows builds of rustc generate these, which store debugging information
34+
*.pdb
35+
36+
### rust-analyzer ###
37+
# Can be generated by other build systems other than cargo (ex: bazelbuild/rust_rules)
38+
rust-project.json
39+
40+
41+
# End of https://www.toptal.com/developers/gitignore/api/linux,rust,rust-analyzer
42+
43+
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
44+

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"conventionalCommits.scopes": [
3+
"update .gitignore"
4+
]
5+
}

0 commit comments

Comments
 (0)