Ignoring Messages

To ignore errors, warnings, or lint messages, just add the message name to the Ignore list. You can find out a message's name by hovering over it with your mouse ; it should be an upper case string like EXAMPLE_MESSAGE_NAME. To ignore multiple messages, separate them with spaces, and/or commas.

For example, the following code

foo()
bar()
yields the following message

… Semicolon inserted

foo()

Semicolon insertion can be problematic as shown below, but we believe it's important to prioritize code reading, so to turn off this warning, add SEMICOLON_INSERTED to the ignore list.

As an example of why we warn on semicolon insertion, consider how the following program would behave very differently if the first semicolon were removed:

var alertWrapper = function (msg) { alert(msg) };

(function () {
  // do stuff
})();

The message level also governs which messages are displayed.