Skip to content
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

Naming Convetion Violation ignoring patterns #22

Closed
xMickeymikex opened this issue Apr 28, 2017 · 3 comments
Closed

Naming Convetion Violation ignoring patterns #22

xMickeymikex opened this issue Apr 28, 2017 · 3 comments

Comments

@xMickeymikex
Copy link

Hey,

I have encountered this problem and cannot find a way to fix it.
style:
active: true
WildcardImport:
active: true
NamingConventionViolation:
active: true
variablePattern: '^()?[a-z$][a-zA-Z$0-9]*$'
constantPattern: '^([A-Z0-9
]|serialVersionUID)$'
methodPattern: '^[a-z$][a-zA-Z$0-9]
$'
classPattern: '[A-Z$][a-zA-Z0-9$]*'

Even if i delete all the patterns, i get the NamingConventionViolation in my report, when i try to modify these patterns, no changes are detected in process. The only thing that works for me is activate or deactivate.

@MyDogTom
Copy link
Contributor

MyDogTom commented Apr 29, 2017

@xMickeymikex This is because support for custom NamingConventionViolation pattern is added recently in this commit and not yet released. Once it's released, it should work perfectly.

@arturbosch
Copy link
Member

Hey as your the second to ask for this, I just released 1.0.0.M8.1 with this feature + one bug fix from a contributor (thx @olivierlemasle)

If the new release works for you, please close the ticket, thx.

@lock
Copy link

lock bot commented Jun 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants