Ignoring Messages

To ignore errors, warnings, or lint messages, just add the message name to the "Ignore" list which may be hidden under "". 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 be able to prioritize code cleanup, 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
})();

You can also use the message level dropdown ("") to control which messages are displayed.