dojo / util

Dojo 1 - build utilities. Please submit bugs to https://bugs.dojotoolkit.org/
https://dojotoolkit.org/
Other
60 stars 105 forks source link

Add support for configuring the warning level of the "uselessCode" diagnostic group #77

Closed dasa closed 5 years ago

dasa commented 5 years ago

Also fix setting "checkGlobalThisLevel".

Reference: https://github.com/google/closure-compiler/wiki/Warnings#warnings-categories

"uselessCode" -> "Warnings when the compiler sees useless code that it plans to remove."

dylans commented 5 years ago

Thanks @dasa, I have landed this for 1.15 which I plan to release late this week I think.