Iris

Inline DiagnosticsNew

When inline diagnostics are enabled, Iris findings surface as a squiggle in the editor and an entry in VS Code's Problems panel. They are off by default so routine code-health findings stay in Iris unless you opt in. Severity follows your severityOverrides config.

Per-category toggles

Secrets, @ts-ignore, unused functions, and any usage are enabled when inline diagnostics are on. Structural warnings like file-too-long default off so the Problems panel does not read like a compiler error list for routine Iris findings.

CategoryDefaultWhat it shows
hardcodedSecretstrueSecrets findings
errorWarningsfalseError-severity structural warnings
warningLevelWarningsfalseWarning/info structural warnings
tsIgnoretrue@ts-ignore usage
unusedFunctionstrueUnused function definitions
anyUsagetrueTypeScript any usage
consoleLogsfalseconsole.log statements
magicNumbersfalseMagic number literals
longParamListsfalseOversized parameter lists
unusedVarsfalseUnused variables
todosfalseTODO/FIXME/HACK comments
pricing.ts
4import { API_URL } from "@/lib/constants";
5
6const apiKey = "sk-proj-abc123def456ghi789jkl";
7
8async function fetchPrices() {
9 const res = await fetch(API_URL, {
10 headers: { Authorization: `Bearer ${apiKey}` }
11 });
12 return res.json();
13}
Problems3
Hardcoded token-like value detectedpricing.ts:6
Function exceeds configured lengthcheckout.ts:118
Magic number in conditional branchcheckout.ts:204

Configuration

.irisconfig.json
{
  "enableInlineDiagnostics": true,
  "inlineDiagnostics": {
    "consoleLogs": true,
    "magicNumbers": false,
    "todos": false
  }
}

Set "enableInlineDiagnostics": false to disable all squiggles and Problems panel entries globally while keeping findings visible in the Iris sidebar.