JSCS is to merge into eslint. Consider migrating to eslint and use its angular plugin instead.
jscs-angular
can be installed using npm
:
npm install jscs-angular
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"
]
}
After including the additional rules above, you can use these options:
angularAllowDirectiveRestrictions
angularRequireDependencyOrder
angularRequireNameCase
angularVerifyDependencyUsage
This functionality have not been tested at all, since I personally have no need for it.
Building good software and tools takes time. Please do support a future for this project if you are using it. Thank you!