Skip to content

Commit

Permalink
Git ignore pattern for Yarn and JetBrains products (#40)
Browse files Browse the repository at this point in the history
Before there were only ignore pattern for the Node.js `node_modules`
folder, but specific pattern for Yarn [1] were not present.
Because the fantastic JetBrains products [2] like GoLand [3] (or
respectively IntelliJ [4] with the official Go plugin [5]) are an
integral part of my daily toolbox the pattern have also been added.

[1]: https://yarnpkg.com
[2]: https://www.jetbrains.com
[3]: https://www.jetbrains.com/go
[4]: https://www.jetbrains.com
[5]: https://plugins.jetbrains.com

Closes GH-39
  • Loading branch information
svengreb committed Sep 18, 2020
1 parent e53fbaf commit 5d2ce0c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@
# Configuration to specify paths to ignore.
# See https://git-scm.com/docs/gitignore for more details.

# +--------------------+
# + JetBrains Products +
# +--------------------+
# +--- IntelliJ IDEA ---+
.idea/*
!.idea/runConfigurations
!.idea/saved-exports
!.idea/watcherTasks.xml

# +---------+
# + Node.js +
# +---------+
**/node_modules/
yarn-debug.log*
yarn-error.log*
.yarn-integrity

0 comments on commit 5d2ce0c

Please sign in to comment.