java MegaLinter Flavor
Description
Optimized for JAVA based projects
Usage
- GitHub Action: megalinter/megalinter/flavors/java@v5
- Docker image: megalinter/megalinter-java:v5
- mega-linter-runner:
mega-linter-runner --flavor java
Embedded linters
Languages
Language | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
BASH | bash-exec | BASH_EXEC | ||
shellcheck | BASH_SHELLCHECK | |||
shfmt | BASH_SHFMT | |||
CLOJURE | clj-kondo | CLOJURE_CLJ_KONDO | ||
GROOVY | npm-groovy-lint | GROOVY_NPM_GROOVY_LINT | ||
JAVA | checkstyle | JAVA_CHECKSTYLE | ||
KOTLIN | ktlint | KOTLIN_KTLINT | ||
SQL | sql-lint | SQL_SQL_LINT | ||
sqlfluff | SQL_SQLFLUFF |
Formats
Tooling formats
Other
Code quality checker | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
COPYPASTE | jscpd | COPYPASTE_JSCPD | ||
CREDENTIALS | secretlint | CREDENTIALS_SECRETLINT | ||
GIT | git_diff | GIT_GIT_DIFF | ||
SPELL | misspell | SPELL_MISSPELL | ||
cspell | SPELL_CSPELL |