eslint-plugin-angular
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -42,2 +42,3 @@ (function(){ | ||
'ng_typecheck_string': require('./rules/ng_typecheck_string'), | ||
'ng_watchers_execution': require('./rules/ng_watchers_execution'), | ||
'ng_window_service': require('./rules/ng_window_service') | ||
@@ -67,3 +68,3 @@ }, | ||
'ng_no_cookiestore': 2, | ||
'ng_no_digest': 2, | ||
'ng_no_digest': 0, | ||
'ng_no_jquery_angularelement': 2, | ||
@@ -83,2 +84,3 @@ 'ng_no_private_call': 2, | ||
'ng_typecheck_string': 2, | ||
'ng_watchers_execution': [0, '$destroy'], | ||
'ng_window_service': 2 | ||
@@ -85,0 +87,0 @@ } |
{ | ||
"name": "eslint-plugin-angular", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "ESLint rules for AngularJS projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -97,3 +97,3 @@ [![Build Status](https://travis-ci.org/Gillespie59/eslint-plugin-angular.svg?branch=master)](https://travis-ci.org/Gillespie59/eslint-plugin-angular) | ||
| 'ng_no_cookiestore':2 | In Angular 1.4, the $cookieStore service is now deprected. Please use the $cookies service instead| | ||
| 'ng_no_digest': 2 | The scope's $digest() method shouldn't be used. You should prefer the $apply method. | | ||
| 'ng_no_digest': 2 | DEPRECATED! The scope's $digest() method shouldn't be used. You should prefer the $apply method. | | ||
| 'ng_no_jquery_angularelement': 2 | You should not wrap angular.element object into jQuery(), because angular.element already return jQLite element| | ||
@@ -113,2 +113,3 @@ | 'ng_no_private_call': 2 | All scope's properties/methods starting with $$ are used internally by AngularJS. You should not use them directly. | | ||
| 'ng_typecheck_string': 2 | You should use the angular.isString method instead of the default JavaScript implementation (typeof "" === "[object String]"). | | ||
| 'ng_watchers_execution': [0, '$digest'] | For the execution of the watchers, the $digest method will start from the scope in which we call the method. This will cause an performance improvement comparing to the $apply method, who start from the $rootScope | | ||
| 'ng_window_service': 2 | Instead of the default window object, you should prefer the AngularJS wrapper service $window. [Y180](https://github.com/johnpapa/angular-styleguide#style-y180) | | ||
@@ -115,0 +116,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152535
99
2719
158