Configurator

Build a linti.yaml for your project from a use case, then fine-tune every rule.

Current configuration

LinTi defaults

Create a configuration with + or adjust a rule below, then save it.

Only in this browser · no account or sync

Manage configurations

Profiles stay in this browser only. Clearing its data removes them; export a copy to keep them elsewhere.

Run settings

generic_prefixes

Process names starting with one of these mark a generic (templated) process.

exclude_paths

Files, directories or glob patterns to skip during discovery.

follow_external_symlinks

Let a directory or glob scan follow symlinks out of the scanned tree.

target_version

Planning Analytics / TM1 version the code must run on (both: v11 and v12).

fail_on

Lowest severity that makes the run fail (--fail-on).

severity

Lowest severity that is reported at all (--severity).

Input limits
max_nesting_depth

Control-flow nesting beyond this depth is reported as P900.

max_file_size

Files larger than this many bytes are rejected.

max_values_per_variable

Distinct values tracked per variable before it counts as unknown.

Rules

F · Formatting Rules

Keyword CasingF110

Enforces consistent keyword casing (uppercase/lowercase/camelcase/consistent)

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

style

Casing required for TI keywords; consistent accepts any casing used the same way throughout a process.

Whitespace Around Operators, Whitespace After Comma, No Space Before Semicolon, One Space Inside Parentheses, No Multiple Spaces, No Trailing Whitespace

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

around_operators

F220: one space around operators.

after_comma

F230: one space after a comma.

no_space_before_semicolon

F240: no space before a semicolon.

one_space_inside_parentheses

F250: one space inside parentheses.

no_multiple_spaces

F260: no runs of multiple spaces.

no_trailing_whitespace

F270: no whitespace at the end of a line.

Block IndentationF310

Enforces indentation for IF/WHILE blocks and wrapped lines

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

size

Spaces per indentation level.

continuation_style

How a line that continues an earlier statement is indented.

One Statement Per LineF320

Enforces that each statement is followed by a newline

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Maximum Line LengthF330

Limits how long a physical line may be

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

limit

Maximum characters per line.

indent_size

Spaces per indentation level in rewrapped lines.

N · Naming Convention Rules

Variable Prefix NamingN110

Enforces TM1 variable naming conventions (n/s/c prefixes)

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

allow_constant_prefix

Accept variables starting with c as constants; each may then be assigned only once (see C220).

allow_loop_counter_variables

Exempt single-character numeric loop counters (e.g. i) assigned right before a WHILE loop.

Variables Consistent CasingN120

Enforces consistent casing for variable references within a process

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Parameter NamingN210

Enforces that parameters start with lowercase 'p'

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Data Source Variable NamingN220

Enforces that data source variables start with lowercase 'v'

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

D · Documentation Rules

Docstring RegionD110

Enforces a docstring region before executable code in the prolog

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

region_name

Name of the #region holding the docstring.

required_headers
# Description

Headers every docstring must contain.

generic_extra_headers
# Use Case

Additional headers required in generic processes.

C · Code Quality Rules

Empty BlockC110

Flags IF/ELSEIF/ELSE/WHILE blocks that contain no executable code

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Conditional Control FlowC120

Enforces that flow-altering statements are only used inside an IF/ELSE block

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

ItemSkip Block UsageC130

Enforces that ItemSkip() is only used in metadata or data sections

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Unreachable CodeC140

Flags code after a flow-terminating statement that can never execute

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Invalid Function PlacementC150

Detects TI functions used in a procedure section where they are not allowed

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

report_not_recommended

Deprecated: recommendations are now reported by C151 (rules.discouraged_function_placement). False disables C151 unless its own enabled is set.

allowed_functions

Functions never reported, whatever section they are in. Also used by C151 unless it sets its own list.

Discouraged Function PlacementC151

Warns about TI functions in a procedure section where they are allowed but discouraged

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

allowed_functions

Functions never reported, whatever section they are in. Unset falls back to rules.misplaced_function.allowed_functions.

Element Used Before AvailableC152

Detects cube access to an element whose buffered insert is not yet available

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Data Source UsageC153

Detects Metadata/Data code that never runs without a data source, and data sources nothing uses

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

check_unused_source

Also report a data source that is configured while Metadata and Data are both empty. The finding for skipped code is unaffected.

check_runtime_source

Also report a process saved without a data source and without variables whose Prolog turns a data source on by assigning DatasourceType. The finding for skipped code is unaffected.

Data Source Assigned After PrologC154

Detects assignments to data source variables in Metadata, Data or Epilog

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Read-only Parameters and VariablesC210

Enforces that parameters and data source variables are read-only

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Single-assignment ConstantsC220

Enforces that constants (c-prefixed variables) are assigned only once

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Literal Process CallsC310

Enforces that RunProcess()/ExecuteProcess() use a string literal as first argument

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Use Hierarchy-Aware FunctionsC410

Enforces hierarchy-aware functions, or at least consistent usage of hierarchy-aware vs. standard hierarchy functions

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

mode

enforce allows only hierarchy-aware functions; consistent allows either style but not both in one process.

Do Not Use Undocumented FunctionsC430

Reports calls to TurboIntegrator functions that are not officially documented or supported by IBM

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

allowed_functions

Undocumented functions the project knowingly relies on; matched case-insensitively and never reported.

Function Version CompatibilityC510

Reports TurboIntegrator functions incompatible with a target Planning Analytics / TM1 version (v11, v12, or both)

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

mode

Per-rule override of the top-level target_version; unset inherits it.

X · External Interactions Rules

No ExecuteCommandX110

Prohibits the use of ExecuteCommand() (disabled for security reasons)

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

ODBCOpen Password ParameterX120

Validates that ODBCOpen() password parameter is a defined TI parameter

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

No Hardcoded SecretsX130

Reports variables whose name looks like a credential being fed from a hardcoded string literal or read out of a cube

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

mode

Preset of secret-looking name fragments to match. custom starts from an empty preset, so secret_names becomes the whole list.

secret_names

Extra name fragments, matched case-insensitively as substrings, on top of the preset selected by mode.

allow_secrets_in_cubes

Accept secrets read from a cube (CellGetS, AttrS, …).

Filter ODBC Rows in SQLX210

Flags ItemSkip() or exclusively conditional writes in Metadata/Data when the ODBC data source query has no WHERE clause

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

P · Parser Rules

Unparseable StatementP110

Flags statements that could not be parsed, warning that linting quality is reduced for that code

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Trailing CommentP120

Flags trailing comments that follow code on the same line

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Maximum Nesting Depth ExceededP900

Flags a procedure whose statement or expression nesting exceeded the configured limit, stopping the parser before it could build a full AST for that section

Options
severity

Overrides the severity the rule declares; unset keeps the rule's own.

Use the add button to create and name a configuration from a template; Recommended uses LinTi's standard settings. Adjust the rules or edit the YAML directly; the form follows along. Save configuration stores it in this browser, the switcher moves between configurations, and Manage configurations offers duplicate, rename, export, and import.

Download the YAML for your project or try the draft in the playground. A share link opens a configuration as a draft that you can save if you like.

Copyright © 2026