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
ReturnCount:
max: 3excludedFunctions:
# Ignore MenuProvider.onMenuItemSelected, Activity.onOptionsItemSelected,# and Fragment.onOptionsItemSelected, because they have a special structure for bug prevention.
- 'onMenuItemSelected'
- 'onOptionsItemSelected'
if you follow the schema you get:
Property 'style>ReturnCount>excludedFunctions' should be a YAML array instead of a comma-separated String.
Looks like it was merged, thanks for opening the PR! Yes, if detekt project starts generating or hosting our own schema, this would definitely be a bug.
Expected Behavior
https://json.schemastore.org/detekt.json
Observed Behavior
Steps to Reproduce
Edit detekt.yml in IDEA and add
if you follow the schema you get:
if you follow the warning you get:
There's no winning :)
Context
My doc update in #5062 triggered #5063 which was fixed by #5081, but that made the schema on schemastore outdated. Would be solved by #4162
Your Environment
The text was updated successfully, but these errors were encountered: