Skip to content
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

Broken on eslint v8.9.0+ #65

Open
dalisoft opened this issue Apr 20, 2022 · 0 comments
Open

Broken on eslint v8.9.0+ #65

dalisoft opened this issue Apr 20, 2022 · 0 comments

Comments

@dalisoft
Copy link

Hi @grouzliik

Thank you for this nice plugin. I found bug while using your plugin, it works on older eslint fine, but i need some nice features from latest eslint

✖ eslint --color:

Oops! Something went wrong! :(

ESLint: 8.13.0

TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')
Occurred while linting /Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/src/polyfills/http-response.ts:100
Rule: "security-node/detect-unhandled-event-errors"
    at CallExpression (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint-plugin-security-node/lib/rules/detect-unhandled-event-errors.js:99:54)
    at ruleErrorHandler (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/linter.js:1114:28)
    at /Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23)
    at /Users/dalisoft/Desktop/Open_Source/nanoexpress/ultimate/node_modules/eslint/lib/linter/linter.js:1145:32
error Command failed with exit code 1.

Related issue: #64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant