Skip to content

Fix ObjectPropertyNaming Rule false positive#5466

Merged
BraisGabin merged 2 commits intodetekt:mainfrom
sanggggg:fix-object-property-naming
Oct 23, 2022
Merged

Fix ObjectPropertyNaming Rule false positive#5466
BraisGabin merged 2 commits intodetekt:mainfrom
sanggggg:fix-object-property-naming

Conversation

@sanggggg
Copy link
Copy Markdown
Contributor

Expected Behavior

ObjectPropertyNaming should only check the properties of the object declaration

Current Behavior

Rule checks every property which is non-local and not-top level

@github-actions github-actions Bot added the rules label Oct 22, 2022
@schalkms schalkms added this to the 1.22.0 milestone Oct 22, 2022
@BraisGabin BraisGabin merged commit abd58d2 into detekt:main Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants