jscs-jsdoc
jscs-jsdoc copied to clipboard
enable/disable individual rules
Hi,
How do you enable/disable individual rules? I have been able to disable either all rules with:
// jscs:disable
And I have been able to disable all jsDoc rules with:
// jscs:disable jsDoc
But I have not figured out how to disable select jsdoc rules while using the others. For neither of the following work:
// jscs:disable checkRedundantParams
// jscs:disable jsDoc.checkRedundantParams
Is there a way to do what I am looking to do?
Thanks
Unfortunately it's a functionality coming from jscs
.
/cc @mdevils
All we can do in plugin is to move all rules to root. So we would have something like:
{
jsdocCheckTypes: ...
jsdocEnforceExistance: ...
// etc...
}
And you'll have to disable it as usual:
// jscs:disable jsdocCheckRedundantParams