You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,13 @@ We use the offical [style guide](https://kotlinlang.org/docs/reference/coding-co
81
81
./gradlew ktlintFormat
82
82
```
83
83
84
-
Note: ktlint does not allow group imports using `.*`. You can configure IntelliJ to disallow this by going to preferences `Editor > Code Style > Kotlin > Imports` and select "Use single name imports".
84
+
A pre-push git hook that automatically will perform these checks is available. You can configure it with the following command:
85
85
86
+
```
87
+
git config core.hooksPath .githooks
88
+
```
89
+
90
+
Note: ktlint does not allow group imports using `.*`. You can configure IntelliJ to disallow this by going to preferences `Editor > Code Style > Kotlin > Imports` and select "Use single name imports".
0 commit comments