Commit Graph

3 Commits

Author SHA1 Message Date
John DiSanti 85d2ace0d6
Upgrade Kotlin and Ktlint (#2392)
* Upgrade Kotlin to 1.7.21

* Upgrade Ktlint to 0.48.2

* Run `pre-commit run --all-files` to fix broken Ktlints

* Fix string comparison broken by code formatting
2023-02-22 18:21:06 +00:00
Zelda Hessler b092e6029a
refactor: unify module writers (apologies for the churn 😅) (#1783)
* refactor: unify module writers
refactor: use RustModule instead of strings for module names
suppress: unchecked cast warning for Writable

* remove: unnecessary writer references in EnumGenerator
format: remove wildcard import
add: intellij wildcard import rules to .editorconfig

* respond to John's comment
2022-10-18 17:18:07 +00:00
John DiSanti 852c2ec260
Upgrade Ktlint and fix lint configuration (#1572)
* Exclude sigv4 test suite from pre-commit file endings hook
* Upgrade Ktlint
* Make Gradle ktlint target consistent with pre-commit

They were previously running two separate rulesets since pre-commit
pulls in the standard ruleset, and that wasn't pulled into the Gradle
dependencies.

* Fix Gradle Ktlint paths
* Establish editorconfig for Ktlint
* Fix Ktlint lints
* Enable `trailing-commas` rule
* Fix block quote indentation
2022-07-27 18:04:07 +00:00