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.2.1 to 0.2.2

2

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

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

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

# Usage
# Usage with [shareable](http://eslint.org/docs/developer-guide/shareable-configs.html) config
Users may use the shareable [eslint-config-angular](https://github.com/dustinspecker/eslint-config-angular) to quickly setup eslint-plugin-angular. It also marks Angular as a global variable and defines required ESLint rules to use this plugin.

@@ -26,2 +27,28 @@ 1. Install `eslint` as a dev-dependency:

3. Install `eslint-config-angular` as a dev-dependency:
```shell
npm install --save-dev eslint-config-angular
```
4. Use the shareable config by adding it to your `.eslintrc`:
```yaml
extends: angular
```
# Usage without shareable config
1. Install `eslint` as a dev-dependency:
```shell
npm install --save-dev eslint
```
2. Install `eslint-plugin-angular` as a dev-dependency:
```shell
npm install --save-dev eslint-plugin-angular
```
3. Enable the plugin by adding it to your `.eslintrc`:

@@ -28,0 +55,0 @@

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