eslint-plugin-angular
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -33,3 +33,2 @@ (function(){ | ||
'ng_typecheck_array': require('./rules/ng_typecheck_array'), | ||
'ng_typecheck_boolean': require('./rules/ng_typecheck_boolean'), | ||
'ng_typecheck_date': require('./rules/ng_typecheck_date'), | ||
@@ -71,3 +70,2 @@ 'ng_typecheck_function': require('./rules/ng_typecheck_function'), | ||
'ng_typecheck_array': 2, | ||
'ng_typecheck_boolean': 2, | ||
'ng_typecheck_date': 2, | ||
@@ -82,2 +80,2 @@ 'ng_typecheck_function': 2, | ||
}; | ||
})(); | ||
})(); |
{ | ||
"name": "eslint-plugin-angular", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "ESLint rules for AngularJS projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -76,3 +76,2 @@ [![Build Status](https://travis-ci.org/Gillespie59/eslint-plugin-angular.svg?branch=master)](https://travis-ci.org/Gillespie59/eslint-plugin-angular) | ||
| 'ng_typecheck_array': 2 | You should use the angular.isArray method instead of the default JavaScript implementation (typeof [] === "[object Array]"). | | ||
| 'ng_typecheck_boolean': 2 | You should use the angular.isBoolean method instead of the default JavaScript implementation (typeof true === "[object Boolean]"). | | ||
| 'ng_typecheck_date': 2 | You should use the angular.isDate method instead of the default JavaScript implementation (typeof new Date() === "[object Date]"). | | ||
@@ -79,0 +78,0 @@ | 'ng_typecheck_function': 2 | You should use the angular.isFunction method instead of the default JavaScript implementation (typeof function(){} ==="[object Function]"). | |
@@ -28,3 +28,3 @@ module.exports = function(context) { | ||
} | ||
var name = node.arguments[0].value; | ||
@@ -31,0 +31,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
143386
91
2560
127