Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

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

your_install_dir/local

This startup file executes whenever you run SKILL Lint.

Arguments

g_ignoreList

String or list of messages that SKILL Lint will no longer output.

Value Returned

t

Always returns t.

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

Lint Functions

skDisableMessage

sklint

skIgnoreMessage

SKILL Lint messages

Message Groups


Return to top
 ⠀
X