You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nvim-lint ktlint seems to use the --android cmd line argument. However this seems to not exist any,ore and fails with:
Exception in thread "main" picocli.CommandLine$UnmatchedArgumentException: Unknown option: '--android'
at picocli.CommandLine$Interpreter.validateConstraints(CommandLine.java:13662)
at picocli.CommandLine$Interpreter.parse(CommandLine.java:13614)
at picocli.CommandLine$Interpreter.parse(CommandLine.java:13559)
at picocli.CommandLine$Interpreter.parse(CommandLine.java:13454)
at picocli.CommandLine.parseArgs(CommandLine.java:1552)
at com.pinterest.ktlint.Main.main(Main.kt:24)
The nvim-lint ktlint seems to use the
--android
cmd line argument. However this seems to not exist any,ore and fails with:https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md#0491---2023-05-12 indicates it got replaced with
--code-style=android_studio
which itself got removed in pinterest/ktlint#2411 to use editorconfig insteadThe text was updated successfully, but these errors were encountered: