You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected an "object injection" error to be highlight for this code: const previousEmoji = this.stateValueToEmoji[alarm.OldStateValue];
What actually happened?
Code passed.
Participation
I am willing to submit a pull request for this issue.
Additional comments
I'm a total security noob, just trying to get my local configuration to match GitLab so that I can improve the feedback loop. GitLab highlights const previousEmoji = this.stateValueToEmoji[alarm.OldStateValue]; as an "Object Injection" issue.
The text was updated successfully, but these errors were encountered:
What version of eslint-plugin-security are you using?
1.6.0
ESLint Environment
Node version: 16.19.0
npm version: 8.19.3
Local ESLint version: 8.0.1
Global ESLint version: 8.0.1
Operating System: Windows WSL2 running Ubuntu 20 LTS
What parser are you using?
@typescript-eslint/parser
What did you do?
Configuration
What did you expect to happen?
I expected an "object injection" error to be highlight for this code:
const previousEmoji = this.stateValueToEmoji[alarm.OldStateValue];
What actually happened?
Code passed.
Participation
Additional comments
I'm a total security noob, just trying to get my local configuration to match GitLab so that I can improve the feedback loop. GitLab highlights
const previousEmoji = this.stateValueToEmoji[alarm.OldStateValue];
as an "Object Injection" issue.The text was updated successfully, but these errors were encountered: