Version(s)
1.12.4
Describe the bug
scalafmt formats the sbt file just fine
To Reproduce
❯ scala-cli fmt build.sbt
[error] build.sbt: unrecognized source type (expected .scala or .sc extension, or a directory).
If build.sbt is meant to be treated as a script, add a shebang header in its top line.
#!/usr/bin/env -S scala-cli shebang
When a shebang header is provided, the script can then be run with the 'shebang' sub-command, even if no file extension is present.
scala-cli shebang build.sbt
Expected behaviour
I'm expecting to have the sbt file formatted, or if it's not supported to be mentioned somewhere
Version(s)
1.12.4
Describe the bug
scalafmtformats thesbtfile just fineTo Reproduce
Expected behaviour
I'm expecting to have the sbt file formatted, or if it's not supported to be mentioned somewhere