EmmanuelDemey / EmmanuelDemey/eslint-plugin-angular

avoid-scope-typos, module-getter, module-setter are buggy

Open
#508 1 comment 2 reactions 0 assignees View on GitHub
Hacktoberfest
Dominant language
JavaScript
Stars
620
Forks
127
PR merge metrics
No merged PRs in 30d

Description

I enabled this (and all other rules) and tested the plugin with jquery3.1.1.
[jquery-3.1.1.js.zip](https://github.com/Gillespie59/eslint-plugin-angular/files/1266306/jquery-3.1.1.js.zip)

for avoid-scope-typos i get:
`
Cannot read property 'name' of undefined
TypeError: Cannot read property 'name' of undefined
at check (XXX\node_modules\eslint-plugin-angular\rules\avoid-scope-typos.js:24:75)
at Linter.Identifier (XXX\linter\node_modules\eslint-plugin-angular\rules\avoid-scope-typos.js:31:17)
at emitOne (events.js:82:20)
at Linter.emit (events.js:169:7)
at NodeEventGenerator.applySelector (XXX\node_modules\eslint\lib\util\node-event-generator.js:265:26)
at NodeEventGenerator.applySelectors (XXX\node_modules\eslint\lib\util\node-event-generator.js:294:22)
at NodeEventGenerator.enterNode (XXX\node_modules\eslint\lib\util\node-event-generator.js:308:14)
at CodePathAnalyzer.enterNode (XXX\node_modules\eslint\lib\code-path-analysis\code-path-analyzer.js:60
2:23)
at Traverser.enter (XXX\node_modules\eslint\lib\linter.js:925:36)
at Traverser.__execute (XXX\node_modules\eslint\node_modules\estraverse\estraverse.js:397:31)
at Traverser.traverse (XXX\node_modules\eslint\node_modules\estraverse\estraverse.js:501:28)
`

The other both rules i cannot check again at the moment due to the typos-rules-error, but i had similar problems with it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.