Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the .gitignore template to ignore files generated by IntelliJ IDEA #3622

Merged
merged 2 commits into from
Sep 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,23 @@ jspm_packages/
# OS X temporary files
.DS_Store

# IntelliJ IDEA project files; if you want to commit IntelliJ settings, this recipe may be helpful:
# https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
.idea/
*.iml

# Visual Studio Code
.vscode

# Rush temporary files
common/deploy/
common/temp/
common/autoinstallers/*/.npmrc
**/.rush/temp/

# Heft temporary files
.heft

# Common toolchain intermediate files
temp
lib
Expand All @@ -74,9 +85,3 @@ lib-commonjs
dist
*.scss.ts
*.sass.ts

# Visual Studio Code
.vscode

# Heft
.heft
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Update the \"rush init\" template to include .gitignore patterns for IntellJ IDEA",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
7 changes: 6 additions & 1 deletion libraries/rush-lib/assets/rush-init/[dot]gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,16 @@ jspm_packages/
# OS X temporary files
.DS_Store

# IntelliJ IDEA project files; if you want to commit IntelliJ settings, this recipe may be helpful:
# https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
.idea/
*.iml

# Rush temporary files
common/deploy/
common/temp/
common/autoinstallers/*/.npmrc
**/.rush/temp/

# Heft
# Heft temporary files
.heft