0.1.0 • Published 8 years ago

eslint-plugin-a v0.1.0

Weekly downloads
10
License
-
Repository
github
Last release
8 years ago

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.