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.10.0 to 0.10.1

5

gulpfile.js

@@ -14,6 +14,3 @@ (function () {

'no-console': 0,
'quotes': [2, 'single'],
'angular/ng_definedundefined': 0,
'angular/ng_typecheck_string': 0,
'angular/ng_typecheck_function': 0
'quotes': [2, 'single']
},

@@ -20,0 +17,0 @@ globals: {

8

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

@@ -19,3 +19,3 @@ "main": "index.js",

"coveralls": "^2.11.4",
"eslint": "^1.1.0",
"eslint": "^1.3.1",
"gulp": "^3.9.0",

@@ -25,4 +25,4 @@ "gulp-eslint": "^1.0.0",

"gulp-mocha": "^2.1.3",
"istanbul": "^0.3.17",
"mocha": "^2.2.5",
"istanbul": "^0.3.19",
"mocha": "^2.3.0",
"shelljs": "^0.5.3",

@@ -29,0 +29,0 @@ "shelljs-nodecli": "^0.1.1"

@@ -23,5 +23,5 @@ module.exports = function(context) {

/**
* Issue #124 for controller() calls inside karma tests
*/
if(node.arguments.length === 0){
* Allow the usage of element.controller() and element.controller('directiveName') in unittests
*/
if(node.arguments.length < 2){
return;

@@ -28,0 +28,0 @@ }

@@ -32,2 +32,5 @@ //------------------------------------------------------------------------------

options: ['/[A-Z].*Controller$/']
}, {
code: 'controller = el.controller("no-match");',
options: ['/^SpamController$/']
}],

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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