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

[java] LocalVariableNamingConventions should allow unnamed variables by default #4954

Open
cowwoc opened this issue Apr 11, 2024 · 0 comments · May be fixed by #5004
Open

[java] LocalVariableNamingConventions should allow unnamed variables by default #4954

cowwoc opened this issue Apr 11, 2024 · 0 comments · May be fixed by #5004
Assignees
Labels
an:enhancement An improvement on existing features / rules
Milestone

Comments

@cowwoc
Copy link

cowwoc commented Apr 11, 2024

Is your feature request related to a problem? Please describe.
The default regex for LocalVariableNamingConventions should include _ for unnamed variables, parameters, catch blocks.

Rule: LocalVariableNameConventions

@cowwoc cowwoc added the an:enhancement An improvement on existing features / rules label Apr 11, 2024
@jsotuyod jsotuyod changed the title LocalVariableNamingConventions should allow unnamed variables by default [java] LocalVariableNamingConventions should allow unnamed variables by default Apr 11, 2024
@oowekyala oowekyala self-assigned this Apr 12, 2024
oowekyala added a commit to oowekyala/pmd that referenced this issue May 11, 2024
oowekyala added a commit to oowekyala/pmd that referenced this issue May 11, 2024
@oowekyala oowekyala linked a pull request May 11, 2024 that will close this issue
4 tasks
@oowekyala oowekyala added this to the 7.2.0 milestone May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
an:enhancement An improvement on existing features / rules
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants