-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider honoring PrivatePropertyName
like PropertyName
#2612
Comments
We can do so. But according to the inspection settings there even seem to be more inspections/suppression that can be used as a trigger. We have to create code samples that trigger those warnings to find the id of the suppression. We also need these for the unit tests. Alternatively, we can look them up. For example see https://github.com/JakeWharton/kotlin/blob/4383335168338df9bbbe2a63cb213a68d0858104/idea/src/META-INF/plugin.xml.173#L2546 |
When Intellij IDEA suppressions `ObjectPropertyName` or `PrivatePropertyName` are used, then also suppress ktlint `property-naming` rule. Closes #2612
When Intellij IDEA suppressions `ObjectPropertyName` or `PrivatePropertyName` are used, then also suppress ktlint `property-naming` rule. Closes #2612
Expected Behavior
PrivatePropertyName
is from IntelliJ, we can honor it likePropertyName
, links #2441.Current Behavior
Error throwing:
Additional information
The text was updated successfully, but these errors were encountered: