You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting error "Property is misspelled or does not exist" for build of pull request with the new rule #2215
Expected Behavior
CI build completed successfully.
Observed Behavior
> Task :detekt-gradle-plugin:detekt FAILED
io.gitlab.arturbosch.detekt.cli.InvalidConfig: Run failed with 1 invalid config property.
Property 'style>ExplicitCollectionElementAccessMethod' is misspelled or does not exist.
Steps to Reproduce
Create new rule.
Add it to default ruleset provider, for example StyleGuideProvider
Run CI build with this code.
Fixes#2217
When a new rule is added before it's available in the version of detekt that the Gradle plugin uses, the config validation fails because the default detekt config file includes a config for the new rule that the Gradle plugin's detekt version doesn't yet know about.
I am getting error "Property is misspelled or does not exist" for build of pull request with the new rule #2215
Expected Behavior
CI build completed successfully.
Observed Behavior
Steps to Reproduce
Create new rule.
Add it to default ruleset provider, for example StyleGuideProvider
Run CI build with this code.
Context
Noticed on the Travis builds of PR with the new rule #2215
https://ci.appveyor.com/project/arturbosch/detekt/builds/29825544
Your Environment
#2215
https://ci.appveyor.com/project/arturbosch/detekt/builds/29825544
The text was updated successfully, but these errors were encountered: