disabledRules broken in 2.3.0?
See original GitHub issueAfter upgrading from 2.2.0 to 2.3.0 formatKotlin
complains about wildcards: Format could not fix > [no-wildcard-imports] Wildcard import
, and it tries to order my imports. This is explicitly disabled in my kotlin dsl config:
apply(plugin: "org.jmailen.kotlinter")
kotlinter {
disabledRules = ["no-wildcard-imports", "import-ordering"]
}
Any ideas which change could have triggered this?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Tutorial: How to enable/disable/clone rules! | Palo Alto Networks
This video covers disabling, enabling and cloning rules. ... You can easily select multiple rules and disable/enable them at the same time.
Read more >Managing Alerts ā Security Onion 2.3 documentation
Disable the SIDāā We can start by listing any currently disabled rules: sudo so-rule disabled list No rules disabled. Next, let's disable SID...
Read more >disabled-rules for ktlint in .editorconfig is ignored #112 - GitHub
I am aware that accepting indent_size from .editorconfig is still broken. Going to have to adjust the strategy for using the .editorconfig fileĀ ......
Read more >Total War: WARHAMMER III - Update 2.3.0
Rules & Systems. Offering to join a war alongside an endgame faction to fight a hated enemy will now always grant a positive...
Read more >Magento broken after module disable
I have a huge problem with Magento on a live platform. I've disabled a few modules, which I don't use, via a command...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thereās nothing in the snippet posted, but since OP indicates itās a pretty complex multiproject build, itās not uncommon to have a plugin or other piece of common script do something like
project.tasks.all { }
ortasks.whenTaskAdded { }
, which makes all tasks get realized as soon as theyāre registered. Even Kotlin plugin had a bug that caused this. In any case it seems like the only possible scenario of this bug happening, as in fact task getting created immediately would make it unaware of configuration provided in extensionThanks for all the valuable information š The
ktLintParams
should be already filled in, in the configuration phase, so thedisabledRules=[]
shouldnāt ever happen with your config. Thanks again, and Iāll try to narrow down possible scenarios why that could be happening š¤