Skip to content

Commit

Permalink
Bump scalameta/scalafmt from v2.7.5 to v3.1.0 (super-linter#2131)
Browse files Browse the repository at this point in the history
* Bump scalameta/scalafmt from v2.7.5 to v3.1.0

Bumps scalameta/scalafmt from v2.7.5 to v3.1.0.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <[email protected]>
  • Loading branch information
dependabot[bot] and admiralAwkbar authored Nov 15, 2021
1 parent 0d88d49 commit 1fbb07a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FROM zricethezav/gitleaks:v7.6.1 as gitleaks
FROM garethr/kubeval:0.15.0 as kubeval
FROM ghcr.io/assignuser/lintr-lib:0.3.0 as lintr-lib
FROM ghcr.io/awkbar-devops/clang-format:v1.0.2 as clang-format
FROM scalameta/scalafmt:v2.7.5 as scalafmt
FROM scalameta/scalafmt:v3.1.0 as scalafmt

##################
# Get base image #
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-slim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ FROM zricethezav/gitleaks:v7.6.1 as gitleaks
FROM garethr/kubeval:0.15.0 as kubeval
FROM ghcr.io/assignuser/lintr-lib:0.3.0 as lintr-lib
FROM ghcr.io/awkbar-devops/clang-format:v1.0.2 as clang-format
FROM scalameta/scalafmt:v2.7.5 as scalafmt
FROM scalameta/scalafmt:v3.1.0 as scalafmt

##################
# Get base image #
Expand Down
3 changes: 3 additions & 0 deletions TEMPLATES/.scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Scala Format Configuration
// https://scalameta.org/scalafmt/docs/configuration.html
version = 3.1.0
align.preset = more // For pretty alignment.
maxColumn = 80
// https://scalameta.org/scalafmt/docs/configuration.html#scala-dialects
runner.dialect = scala3

0 comments on commit 1fbb07a

Please sign in to comment.