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.8.1 to 0.9.0

rules/ng_no_controller.js

2

index.js

@@ -29,2 +29,3 @@ (function(){

'ng_no_angular_mock': require('./rules/ng_no_angular_mock'),
'ng_no_controller': require('./rules/ng_no_controller'),
'ng_no_cookiestore': require('./rules/ng_no_cookiestore'),

@@ -74,2 +75,3 @@ 'ng_no_digest': require('./rules/ng_no_digest'),

'ng_no_angular_mock': 0,
'ng_no_controller': 0,
'ng_no_cookiestore': 2,

@@ -76,0 +78,0 @@ 'ng_no_digest': 0,

2

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

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

@@ -98,2 +98,3 @@ [![Build Status](https://travis-ci.org/Gillespie59/eslint-plugin-angular.svg?branch=master)](https://travis-ci.org/Gillespie59/eslint-plugin-angular)

| 'ng_no_angular_mock':0 | All methods defined in the angular.mock object are also available in the object window. So you can remove angular.mock from your code
| 'ng_no_controller': 0 | According to the Component-First pattern, we should avoid the use of AngularJS controller. |
| 'ng_no_cookiestore':2 | In Angular 1.4, the $cookieStore service is now deprected. Please use the $cookies service instead|

@@ -100,0 +101,0 @@ | 'ng_no_digest': 2 | DEPRECATED! The scope's $digest() method shouldn't be used. You should prefer the $apply method. |

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