mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-13 20:39:33 -05:00
38dd638c34
Automatically append the 'version' configuration parameter to the scalafmt configuration file when building the image instead of using a GitHub Actions workflow to keep the scalafmt configuration file up to date. This makes the building process more reproducible and self-contained in the Dockerfile, and it also avoid stalling Dependabot PRs that update scalafmt because when there are automatically added commits to a PR, they block triggering workflows for that PR.
11 lines
450 B
Text
11 lines
450 B
Text
// Scala Format Configuration
|
|
// https://scalameta.org/scalafmt/docs/configuration.html
|
|
align.preset = more
|
|
maxColumn = 80
|
|
// https://scalameta.org/scalafmt/docs/configuration.html#scala-dialects
|
|
runner.dialect = scala3
|
|
|
|
// The version parameter is required to be specified explicitly
|
|
// Ref: https://scalameta.org/scalafmt/docs/configuration.html#version
|
|
// It will be added at the end of this file when building the Super-linter
|
|
// container image
|