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

Rule not correct when using java options with a "+" . #92

Open
EkielZan opened this issue Jan 2, 2018 · 0 comments
Open

Rule not correct when using java options with a "+" . #92

EkielZan opened this issue Jan 2, 2018 · 0 comments

Comments

@EkielZan
Copy link

EkielZan commented Jan 2, 2018

Hi,
Small bug at the following line :

paramSyntaxRegex: /^[\w-$/\\=\"[\]{}@:,'`\t. ]+$/

When using a ENV like this :

ENV JAVA_OPTS -server -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap

the lint complain because of the "+".

Here is my proposed correction : (already using it myself)

/^[\w-$/+\="[]{}@:,'`\t. ]+$/

@EkielZan EkielZan changed the title Rules not correcte when using java options with a "+" . Rule not correct when using java options with a "+" . Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant