EmmanuelDemey / EmmanuelDemey/eslint-plugin-angular

controller-as rule matches custom scope functions

Open
#198 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
620
Forks
127
PR merge metrics
No merged PRs in 30d

Description

Hi,
I believe controller-as rule should not fail on following code:

```
$scope.on('myEvent', handleEvent);
```

I'm not setting properties on `$scope`, I'm calling its function.

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.