Skip to content

Commit

Permalink
feat: add VSCode/Metals files to .gitignore (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
hseeberger authored Jan 12, 2022
1 parent b27f86e commit 01628a1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# sbt
.bsp
lib_managed
project/project
target
.bsp

# Worksheets (Eclipse or IntelliJ)
# Worksheets
*.sc

# Eclipse
Expand All @@ -24,10 +24,14 @@ target
.ensime_cache
.ensime_lucene

# VSCode
.vscode

# Mac
.DS_Store

# Akka Persistence
# Akka
ddata*
journal
snapshots

Expand All @@ -36,3 +40,8 @@ snapshots

# jenv
.java-version

# Metals
.bloop
.metals
metals.sbt
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version = "3.3.1"

preset = "defaultWithAlign"
runner.dialect = "scala213"
runner.dialect = "scala213source3"

maxColumn = 100
indentOperator.preset = "spray"
Expand Down
12 changes: 8 additions & 4 deletions src/main/scala/de/heikoseeberger/sbtfresh/Template.scala
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ private object Template {

def gitignore: String =
"""|# sbt
|.bsp
|lib_managed
|project/project
|target
|.bsp
|
|# Worksheets (Eclipse or IntelliJ)
|# Worksheets
|*.sc
|
|# Eclipse
Expand All @@ -138,8 +138,11 @@ private object Template {
|
|# ENSIME
|.ensime
|.ensime_lucene
|.ensime_cache
|.ensime_lucene
|
|# VSCode
|.vscode
|
|# Mac
|.DS_Store
Expand All @@ -156,8 +159,9 @@ private object Template {
|.java-version
|
|# Metals
|.metals
|.bloop
|.metals
|metals.sbt
|""".stripMargin

def notice(author: String): String =
Expand Down

0 comments on commit 01628a1

Please sign in to comment.