Socket
Socket
Sign inDemoInstall

eslint-plugin-angular

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-angular - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

4

index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc