Skip to content

Commit

Permalink
Suppress property-naming rule
Browse files Browse the repository at this point in the history
When Intellij IDEA suppressions `ObjectPropertyName` or `PrivatePropertyName` are used, then also suppress ktlint `property-naming` rule.

Closes #2612
  • Loading branch information
paul-dingemans committed Apr 23, 2024
1 parent a156d9c commit 75c4818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/snapshot/docs/rules/standard.md
Expand Up @@ -586,7 +586,7 @@ Enforce naming of property.
}
```

This rule can also be suppressed with the IntelliJ IDEA inspection suppression `PropertyName` or `ConstPropertyName`.
This rule is suppressed whenever the IntelliJ IDEA inspection suppression `PropertyName`, `ConstPropertyName`, `ObjectPropertyName` or `PrivatePropertyName` is used.

Rule id: `property-naming` (`standard` rule set)

Expand Down

0 comments on commit 75c4818

Please sign in to comment.