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
semgrep-rules/javascript/lang/correctness/useless-assign.yaml at develop · returntocorp/semgrep-rules
test.js:
const { foo } = require('foo') const { bar } = require('bar')
$ semgrep -c 'r/javascript.lang.correctness.useless-assign.useless-assignment' test.js ... ┌────────────────┐ │ 1 Code Finding │ └────────────────┘ test.js javascript.lang.correctness.useless-assign.useless-assignment `const` is assigned twice; the first assignment is useless Details: https://sg.run/0Q9w 2┆ const { foo } = require('foo') 3┆ const { bar } = require('bar')
The text was updated successfully, but these errors were encountered:
I thought it was related to the regex implementation - semgrep/semgrep#5216 (comment)
maybe this one is duplicate of semgrep/semgrep#7531
Sorry, something went wrong.
No branches or pull requests
semgrep-rules/javascript/lang/correctness/useless-assign.yaml at develop · returntocorp/semgrep-rules
test.js:
The text was updated successfully, but these errors were encountered: