Aditya Bhaskar
03/03/2025, 12:45 PMktlint
related)
Does anyone know of any migration notes or discussions when updating to 5.0.x
of Kotlinter-gradle?
I just made the update and the lintKotlin
task is throwing 100s of lint errors. I’ve confirmed it’s not a ktlint issue by changing the ktlintVersion
to previously working version.
The release notes don’t suggest anything that could impact this.
I have a feeling that the .editorconfig
is not being used.
As an example, one frequent error is due to the function-signature
rule saying “First line of body expression fits on same line as function signature”. But that seems to ignore max-line-length
set to 100 in editorconfig.Aditya Bhaskar
03/03/2025, 2:18 PMmax-line-length
in test source set, not in the main source set.
2. It’s also catching a lot of lint errors that were apparently being ignored by kotlinter 4.4.0Aditya Bhaskar
03/03/2025, 2:40 PM