Skip to content

Should not mention filename in error output #16

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

Closed
swernerx opened this issue Apr 20, 2017 · 1 comment
Closed

Should not mention filename in error output #16

swernerx opened this issue Apr 20, 2017 · 1 comment

Comments

@swernerx
Copy link

Currently the plugin is not just mentioning the error message itself but also adds the filename.

64:19  warning  Generic Object Injection Sink: /Users/sebastian/Workspace/sebastian-software/edgestack/src/webpack/ConfigFactory.js: 64
              copy[key] = obj[key]

                             security/detect-object-injection

which actually makes a lot of noise compared to other eslint checks.

ESLint already lists exactly the same issue location as the one mentioned in the message. So this is duplicate information.

@pdehaan
Copy link
Contributor

pdehaan commented Jun 13, 2017

Attempted PR at #17.

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

3 participants