0.0.0 • Published 4 years ago

eslint-plugin-angularjs-to-angular v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

eslint-plugin-angularjs-to-angular

Set of rules to ease the transition from AngularJS legacy apps to Angular

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-angularjs-to-angular:

$ npm install eslint-plugin-angularjs-to-angular --save-dev

Usage

Add angularjs-to-angular to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "angularjs-to-angular"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "angularjs-to-angular/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here