Ryan Sang
03/21/2023, 9:06 PMkotlinter
or ktlint-gradle
detect the .editorconfig
file? Using plain ktlint
I have no issues but with either plugin it doesn’t seem to respect the .editorconfig
(e.g. uses experimental rules when I have experimental rules disabled, confirmed with plain ktlint
). My .editorconfig
lives in the root directory of the project.Emil Kantis
03/21/2023, 9:07 PMmateusz.kwiecinski
03/21/2023, 9:17 PM./gradlew --stop
after modifying editorconfig file? I recall there was an issue where editorconfig content was cached by ktlint and both plugins weren't properly reseting ktlint caches 👀jlleitschuh
03/21/2023, 9:18 PM.editorconfig
file as a task inputmateusz.kwiecinski
03/21/2023, 9:23 PMjlleitschuh
03/21/2023, 9:24 PMwakingrufus
03/21/2023, 9:25 PMmateusz.kwiecinski
03/21/2023, 9:29 PMRyan Sang
03/21/2023, 9:29 PMgradlew --stop
seems to have fixed the issue. Thanks!mateusz.kwiecinski
03/21/2023, 9:33 PMeditorConfigFilePaths
and reloadEditorConfigFile