jscs-angular
Plugin installation
jscs-angular
can be installed using npm
:
npm install jscs-angular
Usage
To use this plugin you should add it to your configuration file, e.g. .jscsrc
:
{
"plugins": ["jscs-angular"]
}
If you are using a JSCS version below 1.8
please use the old way of including the rules:
{
"additionalRules": [
"node_modules/jscs-angular/src/rules/*.js"
]
}
Configuration options
After including the additional rules above, you can use these options:
angularAllowDirectiveRestrictions
angularRequireDependencyOrder
angularRequireMatchingFilename
angularVerifyDependencyUsage
Browser support
This functionality have not been tested at all, since I personally have no need for it.
Thank you
Building good software and tools takes time. Please do support a future for this project if you are using it. Thank you!