assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

feat(CLI): ignore a specific warning

Open willemneal opened this issue 4 years ago • 1 comments

--ignoreWarning will suppress a specific warning or list of warnings.

This is useful in cases where the warning is known by the author and is okay. For example, in my work on adding a generic encoder interface I add generic methods to a class and if that class isn't used I get 232, which can be ignored.

  • [x] I've read the contributing guidelines

willemneal avatar Jul 13 '21 14:07 willemneal

Some more context for my use case, testing. I only want the warning to go away during the test but not production builds.

willemneal avatar Jul 13 '21 16:07 willemneal