noverify
noverify copied to clipboard
Multiple `@path` directives
Is your feature request related to a problem? Please describe.
Currently, it's forbidden to put multiple @path
s for single rule. Rule like
/**
* @warning Do not use `foo()`!
*
* @path www/A/
* @path www/B/
*/
foo();
will end up with duplicate @path constraint
error.
So, to apply rule foo()
for both www/A/
and www/B/
it's necessary to copy-paste the rule for them individually:
/**
* @warning Do not use `foo()`!
*
* @path www/A/
*/
foo();
/**
* @warning Do not use `foo()`!
*
* @path www/B/
*/
foo();
Describe the solution you'd like
Allow to specify @path
s and merge them.