EmmanuelDemey / EmmanuelDemey/eslint-plugin-angular
Forbid scalar values on $scope
Open
Rule
- Dominant language
- JavaScript
- Stars
- 620
- Forks
- 127
- PR merge metrics
- No merged PRs in 30d
Description
From the angular wiki (https://github.com/angular/angular.js/wiki/Anti-Patterns):
Don't use a scalar variable (null is scalar) as a model within an isolate scope (such as ng-if). (Example: http://embed.plnkr.co/qRhLfw/preview)
(Last missing point from #133)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.