rules_closure icon indicating copy to clipboard operation
rules_closure copied to clipboard

CR_SUPERFLUOUS_SUPPRESS not honored

Open pcj opened this issue 7 years ago • 1 comments

In some generated code, seems that this supression code is not being honored. Any pointers to debug/fix?

JSC_MISSING_JSDOC, CR_SUPERFLUOUS_SUPPRESS
  ProTip: "CR_SUPERFLUOUS_SUPPRESS" or "superfluousSuppress" can be added to the `suppress` attribute of:
  //closure_js:closure_js

pcj avatar Aug 23 '18 22:08 pcj

+1 I have a macro that compiles a large set of similar legacy JS files with all sorts of problems, but none of them have all issues. CR_SUPERFLUOUS_SUPPRESS not being honored in the suppress list makes it impossible to use the macro with closure_js_lib.

However I just found that using "superfluousSuppress" instead of "CR_SUPERFLUOUS_SUPPRESS" does the trick.

wiest avatar Oct 08 '25 08:10 wiest