Restricting to scala files but still passing filenames rather than relying on the scalafmt config

This commit is contained in:
pgfm 2022-06-17 21:47:19 -05:00
parent d604af27c9
commit eed51c6140

View file

@ -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