Iris

VS Code Settings

Open settings with Ctrl+, and search "Iris" to configure:

SettingDefaultDescription
iris.functionLengthThreshold40Lines before a function is flagged
iris.fileLengthThreshold300Lines before a file is flagged
iris.maxFunctionsPerFile10Max functions before flagging
iris.maxImportsPerFile8Max third-party imports before flagging
iris.maxParameterCount5Max parameters before flagging a function
iris.complexityThreshold7Complexity score that triggers status bar warning
iris.enableConsoleLogWarningstrueFlag console.log / print() / fmt.Print* statements
iris.enableMagicNumberDetectiontrueFlag raw numeric literals used without a named binding
iris.enableTodoDetectiontrueFlag TODO / FIXME / HACK comments
iris.enableLongParamDetectiontrueFlag functions with too many parameters
iris.enableUnusedDetectiontrueFlag unused variables and functions
iris.enableMissingReturnTypeWarningstrueFlag exported functions missing return types (TS/JS only)
iris.enableCodeLenstrueShow inline Code Lens hints
iris.enableStatusBartrueShow Iris item in status bar
iris.severityOverrides{}Override severity per warning type
iris.ignoreFiles["**/*.test.ts", ...]Glob patterns for files to skip in workspace analysis
iris.ignoreFunctions[]Function names Iris should never flag