diff --git a/.pre-commit-channel/scalafmt.json b/.pre-commit-channel/scalafmt.json deleted file mode 100644 index 74e4f13..0000000 --- a/.pre-commit-channel/scalafmt.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "mainClass": "org.scalafmt.cli.Cli?", - "repositories": [ - "central" - ], - "dependencies": [ - "org.scalameta::scalafmt-cli:latest.release" - ] -} - diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 261464e..09e66d3 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,7 +3,7 @@ name: scalafmt description: "Runs the scalafmt code formatter using Coursier." entry: scalafmt - language: coursier + language: system types: [file] files: \.(scala|sbt|sc)$ stages: [commit]