(This is not strictly `ktlint` related) Does anyo...
# ktlint
a
(This is not strictly
ktlint
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.
Mixed update: 1. The new version appears to be ignoring
max-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.0
Developer error! Turns out someone had updated the editorconfig with a change I wasn’t aware of 🤦🏽