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
The following code:
component { function foo() { var tempStruct = {}; doSomething(tempStruct); tempStruct.foo = "bar"; } }
Will produce the warning "Temporary variable tempStruct could be named better." 3 times, one for each of the occurrences of the variable tempStruct.
tempStruct
My expectation would be that the warning be triggered only once, for the line var tempStruct = {}; where the variable is declared.
var tempStruct = {};
The text was updated successfully, but these errors were encountered:
#223
14c900f
fixed
Sorry, something went wrong.
No branches or pull requests
The following code:
Will produce the warning "Temporary variable tempStruct could be named better." 3 times, one for each of the occurrences of the variable
tempStruct
.My expectation would be that the warning be triggered only once, for the line
var tempStruct = {};
where the variable is declared.The text was updated successfully, but these errors were encountered: