ktlint 1.4.0 cannot parse the Kotlin 2.x context parameter syntax (`context(viewModel: ViewModel)`) used by stateInUi, causing spotlessCheck to fail. Bump ktlint to 1.7.1 (the first version with context parameter support). Also fixes incidental issues surfaced by the upgrade and review: - Apply ktlint 1.7.1's KDoc-spacing rule to NavigationTest.kt. - Fix import order in InterestsViewModel and SettingsViewModel. - Remove unused viewModelScope import from MainActivityViewModel. - Update FlowExtensions.kt copyright year to 2026. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>pull/2099/head
parent
54cdea4102
commit
9c38898451
Loading…
Reference in new issue