Socket
Socket
Sign inDemoInstall

eslint-plugin-angular

Package Overview
Dependencies
1
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

2

package.json
{
"name": "eslint-plugin-angular",
"version": "0.0.11",
"version": "0.0.12",
"description": "ESLint rules for AngularJS projects",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -22,2 +22,9 @@ module.exports = function(context) {

if(callee.type === 'MemberExpression' && callee.property.name === 'controller') {
/**
* Issue #124 for controller() calls inside karma tests
*/
if(node.arguments.length === 0){
return;
}
var name = node.arguments[0].value;

@@ -24,0 +31,0 @@

@@ -29,2 +29,5 @@ //------------------------------------------------------------------------------

args: [1, '/[A-Z].*Controller$/']
}, {
code: 'controller = el.controller();',
args: [1, '/[A-Z].*Controller$/']
}],

@@ -31,0 +34,0 @@ invalid: [

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc