We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using 1.3.0.
Given this function:
public string function ANOTHERMETHOD(){ var FO = "Bar"; local.TEST = "Foo"; LOCAL.test = "FooBar"; return LOCAL.FO; }
And this rule set:
{ "rule": [], "includes": [ { "code": "AVOID_USING_WRITEDUMP" }, { "code": "METHOD_ALLCAPS_NAME " }, { "code": "EXCESSIVE_FUNCTIONS" }, { "code": "VAR_ALLCAPS_NAME" }, { "code": "SCOPE_ALLCAPS_NAME " }, { "code": "VAR_TOO_SHORT" } ], "inheritParent": false }
I get no warnings for the capitalized var "var FO" nor the capitalized "LOCAL" scope.
VAR_ALLCAPS_NAME:2 VAR_TOO_SHORT:1 METHOD_ALLCAPS_NAME:1
The text was updated successfully, but these errors were encountered:
#544
4c5064a
@jimpriest What is the full context that this function is running in? is it inside a component or inside a <script/> tag in a cfml file?
With either of those scenarios, it flags the items you reported missing.
Sorry, something went wrong.
I believe this is working as expected in 1.4.0. closing.
jimpriest
ryaneberly
No branches or pull requests
Using 1.3.0.
Given this function:
And this rule set:
I get no warnings for the capitalized var "var FO" nor the capitalized "LOCAL" scope.
VAR_ALLCAPS_NAME:2
VAR_TOO_SHORT:1
METHOD_ALLCAPS_NAME:1
The text was updated successfully, but these errors were encountered: