-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
A new tool had been added to this project. Running
mvn diktat:check@diktatwill throw an amount of errors.
For running a single program, some binaries should be downloaded:
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.46.1/ktlint && chmod a+x ktlint
curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.3/diktat-1.2.3.jarand then
./ktlint -R diktat-1.2.3.jar --disabled_rules=standard "path/to/your/file"For instance,
./ktlint -R diktat-1.2.3.jar --disabled_rules=standard "src/main/kotlin/org/polystat/j2eo/translator/Declarations.kt"We need to add diktat checker to CI, so all conflicts should be resolved.
Metadata
Metadata
Assignees
Labels
No labels