We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de45c73 commit 704014aCopy full SHA for 704014a
.pre-commit-config.yaml
@@ -0,0 +1,8 @@
1
+repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: ktlint
5
+ name: ktlint-check-and-format
6
+ entry: bash -c './gradlew ktlintCheck || ./gradlew ktlintFormat'
7
+ language: system
8
+ types: [kotlin]
0 commit comments