Skip to content

Default Lint Rules

EPM Workbench comes with 12 built-in Lint Rules. Ten read Calc Script files and two read Groovy. You can change the level of any of them, turn any of them off, or excuse one file from one of them with a Lint Exception.

Starts at is the level a Lint Rule runs at until you change it. Checks says which files it reads. All means Rules, Templates, and Scripts. Rules means Rules only, because the setting belongs to the whole Rule, and a Template or Script is only part of one.

Lint RuleStarts atChecksWhat it catches
calc/member-existsErrorAllA member that doesn’t exist in the application, an alias that matches more than one member, or a word a function doesn’t accept.
calc/fix-balanceErrorAllA FIX with no ENDFIX, or the other way round.
calc/exclude-balanceErrorAllAn EXCLUDE with no ENDEXCLUDE, or the other way round.
calc/fix-trailing-commaErrorAllA comma just before the closing bracket of a FIX, FIXPARALLEL, or EXCLUDE member list.
calc/require-updatecalc-offWarningRulesA Rule that never sets UPDATECALC.
calc/require-aggmissg-onWarningRulesA Rule that never sets AGGMISSG.
calc/require-emptymembersets-onWarningRulesA Rule that never sets EMPTYMEMBERSETS.
calc/createblockoneq-pairedWarningRulesSET CREATEBLOCKONEQ ON; that is never turned back off.
calc/createnonmissingblk-pairedWarningRulesSET CREATENONMISSINGBLK ON; that is never turned back off.
calc/all-dimensions-accountedWarningRulesA dimension the Rule never names, so it runs across all of that dimension’s members.
Lint RuleStarts atChecksWhat it catches
groovy/rtp-declaredWarningAllA Run-Time Prompt the Rule reads but never declares.
groovy/macro-resolvesErrorAllA %Template, %Script, or %Rule call that names one the Pod doesn’t have.