smithy-lang/smithy-swift

Configure linting for Kotlin code

Closed this issue · 1 comments

We rely mostly on Intellij to handle formatting and inspections during development. For CI/CD though we should probably setup a linter to run automatically.

There is ktlint and detekt. If we have to pick one I think ktlint would be the way to go, it tries to adhere to the official code style and doesn't require much configuration supposedly. I haven't investigated extensively though.

Whichever way we go we should not be trying to come up with a custom style. We should adhere to the "official" style as much as possible. No need to bikeshed.

ktlint was setup and runs as part of branch status checks in #3