Expand description
Which ktlint CLI the drop-in imitates: --ktlint-version=<1.8|2.0> (ktrs only, hidden), else
ktrs_ktlint_version of the .editorconfig that applies to the working directory, else 2.0. Chosen once
per run and passed to the engine as an .editorconfig override, so every file follows it. The engine and
rule switches: research/26-ktlint-18-mode.md.
Constants§
Functions§
- exit_
value exitKtLintProcess: 1.8 exits 1 for every failure but an unparsable format result (123).- package
- The JVM package prefix in logger and exception class names.
- release
- The release
--versionand the SARIF reporter show. - repository
- The GitHub repository named in messages and git hooks.
- resolve_
ktlint_ version - The
--ktlint-versionvalue amongtokens(before--; the last one wins), else the working directory’s.editorconfig.Erris a Clikt-style usage error message. - with_
ktlint_ version editor_config_overridewithversionset, which every file’s.editorconfigthen reports.