skIgnoreMessage
skIgnoreMessage(g_ignoreList) =>t
Description
Turns off the reporting of specified SKILL Lint messages. For a message to appear, both the message and its group have to be unignored.
When a message is ignored, reporting is turned off until a call to unignore that same message is made. If the message group hint was turned off, all messages in the group hint are not printed when SKILL Lint is run. These messages would also not affect the final IQ score. You can put calls to skIgnoreMessage in .skinit, the SKILL Lint startup file, in either the user’s home directory or under
This startup file executes whenever you run SKILL Lint.
Arguments
|
String or list of messages that SKILL Lint will no longer output. |
Value Returned
Examples
The following example turns off reporting of all hint and unused variable messages.
skIgnoreMessage('(hint))
skIgnoreMessage("unused vars")
The following example turns on reporting of performance suggestion messages.
skUnignoreMessage('(suggestion))
Related Topics
Return to top