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

VariableInitialisation: Allow to ignore warning of invalid variables using final #491

Closed
remiX- opened this issue Dec 10, 2019 · 0 comments

Comments

@remiX-
Copy link

remiX- commented Dec 10, 2019

Using new Haxe 4 syntax gives a linting warning for "VariableInitialisation - Warning: Invalid variable".
Would be nice to be able to configure this to have it not detect as a warning or just have it not detect as warning at all.

Code:

final DRIVE_LETTER_LOWERCASE_REGEX:EReg = ...;

Full warning line:
VariableInitialisation - Warning: Invalid variable "DRIVE_LETTER_LOWERCASE_REGEX" initialisation (move initialisation to constructor or function)

Thanks!

AlexHaxe added a commit to AlexHaxe/haxe-checkstyle that referenced this issue Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants