Restricting to scala files but still passing filenames rather than relying on the scalafmt config
This commit is contained in:
parent
d604af27c9
commit
eed51c6140
1 changed files with 3 additions and 1 deletions
|
@ -4,5 +4,7 @@
|
||||||
description: "runs the scalafmt code formatter"
|
description: "runs the scalafmt code formatter"
|
||||||
entry: scalafmt
|
entry: scalafmt
|
||||||
language: coursier
|
language: coursier
|
||||||
types: [text]
|
types: [file]
|
||||||
|
files: \.(scala|sbt|sc)$
|
||||||
stages: [commit]
|
stages: [commit]
|
||||||
|
pass_filenames: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue