eslint-plugin-a

0.1.0 • Public • Published

A very simple eslint plugin with one very simple rule:

  • a/ngular-module-file-name rule checks consistency module name in angular.module(name /*, something */) with file name. This rule hasn't any configuration. The main difference this rule from angular/file-name - the module name should be the filesystem path of the file from the root (the second argument of this rule) and it works only for angular.module(name /*, something */), not for other angular methods for creation components, in angular/file-name it can't be configured. Available fixing.

/eslint-plugin-a/

    Package Sidebar

    Install

    npm i eslint-plugin-a

    Weekly Downloads

    0

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • zloirock