We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab73e82 commit f4ee58bCopy full SHA for f4ee58b
.pre-commit-config.yaml
@@ -62,6 +62,15 @@ repos:
62
true # Ensures this hook runs even if no Java files are changed.
63
# This is useful for spotless:apply which might affect files not staged.
64
stages: [manual]
65
+ - id: checkstyle
66
+ name: run checkstyle
67
+ description: check Java code style with Checkstyle
68
+ entry: mvn checkstyle:check
69
+ language: system
70
+ types: [java]
71
+ pass_filenames: false
72
+ always_run: true
73
+ stages: [pre-commit]
74
- id: check-zip-file-is-not-committed
75
name: check no zip files are committed
76
description: Zip files are not allowed in the repository
0 commit comments