Lint Rules
Lint Rules are checks that EPM Workbench runs on your own computer. They
read a Rule, Template, or Script as you type and flag likely mistakes: a FIX
with no ENDFIX, a member that doesn’t exist, a missing SET AGGMISSG ON;.
Nothing is sent to the Pod. They check the files in the Rules, Templates, and
Scripts folders of a Pod Folder or a
Library Folder.
They are different from Validate, which asks Oracle to check a Rule on the Pod. Lint Rules are instant and need no connection to the Pod. Validate is Oracle’s own verdict.
EPM Workbench comes with 12 built-in Lint Rules. You can change how serious each one is, turn any of them off, write your own, and excuse a single Rule from a single check.
What a finding looks like
Section titled “What a finding looks like”A finding is underlined in the editor and listed in the Problems panel at
the bottom of VS Code. Each entry shows EPM Lint and the Lint Rule’s name in
brackets, for example EPM Lint(calc/fix-trailing-comma).

Click the name in brackets to open that Lint Rule’s page on this site, with what it checks and why. A Lint Rule you wrote yourself opens the link you gave it, or this page if you gave none.
While you are typing on a line, new underlines on that line wait until you move
off it, because a half-typed line is expected to look wrong. To turn that off,
open Settings (Ctrl+,, or Cmd+, on a Mac) and turn off
Epm Workbench › Diagnostics: Hold Active Line.
How serious a finding is
Section titled “How serious a finding is”Each Lint Rule runs at one of three levels, or is turned off:
| Level | Underline | Meaning |
|---|---|---|
| Error | Red | Almost certainly wrong. In the Rules tab, the file’s name turns red. |
| Warning | Yellow | Probably wrong, or a habit worth keeping. |
| Info | Blue | Worth a look. |
| Off | None | The Lint Rule doesn’t run. |
No level stops you from Pushing, Deploying, or Executing. The check that can stop those is Oracle’s Validate.
The level is your team’s choice. If you treat a missing SET UPDATECALC OFF;
as a must-fix, raise it to Error. If a Lint Rule doesn’t suit how your
application is built, turn it off.
Fix it in one click
Section titled “Fix it in one click”Some findings come with a fix. Click the underlined text and press Ctrl+.
(Cmd+. on a Mac), or click the lightbulb at the start of the line. The fix is
listed first.

These Lint Rules have a fix:
| Lint Rule | Fix |
|---|---|
calc/fix-trailing-comma | Remove trailing comma |
calc/require-updatecalc-off | Insert SET UPDATECALC OFF; |
calc/require-aggmissg-on | Insert SET AGGMISSG ON; |
calc/require-emptymembersets-on | Insert SET EMPTYMEMBERSETS ON; |
groovy/rtp-declared | Declare … in the RTPS header |
Lint All
Section titled “Lint All”The file you have open is checked as you type. To check every Rule, Template,
and Script in the Pod at once, click Lint All (the double tick) at the top
of the Rules tab. You can also run EPM Workbench: Lint All from the Command
Palette (Ctrl+Shift+P, or Cmd+Shift+P on a Mac).
A notification shows the progress, and you can cancel it. When it’s done, it tells you what it found in the Pod’s artifacts (its Rules, Templates, and Scripts), and Show Problems opens the list.

Lint All runs the Lint Rules only. The Groovy checks from the Groovy language service, such as a misspelled method name, show only in files you open.
Lint Exceptions
Section titled “Lint Exceptions”A Lint Exception excuses one whole Rule, Template, or Script from one Lint
Rule, with a reason you write down. Use it when a Lint Rule is right in general but
wrong for one file, such as a Rule that is meant to run across every member of
a dimension, which calc/all-dimensions-accounted would flag.
To add one:
- Click the finding and press
Ctrl+.(Cmd+.on a Mac). - Choose Add Lint Exception for ….
- Type the reason and press
Enter.

The reason is required. It’s what tells a colleague, months later, that the Exception was on purpose. The finding disappears, and the Exception is saved in the Pod Folder with the reason and the date. Your name is saved too, if VS Code can find it.
You can also right-click a file in the Rules tab, or in the editor, and choose Add Lint Exception. It asks which Lint Rule to excuse the file from.
To see or remove an Exception, open the Lint Rule in the Lint Rules panel.
Where the settings are kept
Section titled “Where the settings are kept”Your Lint Rule settings are kept in files named lint-rules.json, at three
scopes:
| Scope | Where the file is | Applies to |
|---|---|---|
| Global | In the epmwb-global folder in your EPM Workbench Root | Every Pod |
| Domain | In the Domain’s folder | Every Pod in that Domain |
| Pod | In the Pod Folder | That Pod only |
None of these files has to exist. The Lint Rules panel creates the one it needs when you first save a change.
The scopes combine like this:
- Level, and on or off: a Pod’s setting beats its Domain’s, and a Domain’s beats Global. A Pod can turn back on a Lint Rule its Domain turned off.
- Your own Lint Rules: they add up. A Lint Rule saved at Global is used in every Pod. If two scopes have a Lint Rule with the same name, the Pod’s beats the Domain’s, and the Domain’s beats Global’s.
- Exceptions: they add up, and a Pod or Domain can’t cancel one. An Exception saved at Global can only be removed from the Global file.
To share your Global Lint Rules with your team, see Sharing Lint Rules.
The built-in Lint Rules
Section titled “The built-in Lint Rules”Default Lint Rules lists the 12 built-in Lint Rules with the level each one starts at. Each one has its own page with what it checks, why it matters, and an example.