Use this quick guide to run linti on your first TM1 process file.
Before you start, make sure you have at least one supported process file. See supported formats in README.md.
Install Python 3.10 or higher and verify it is available in your terminal.
python --versionpip install lintilinti my-process.tiYou can also lint other supported formats (YAML, Git JSON+TI, PA-code .ti) listed in the README.
Try auto-fix:
linti my-process.ti --auto-fixOr if you are not happy with the linting issues, create a linti.yaml and configure your preferred rules and settings.
For full rule explanations and configuration examples, see ALL_RULES.md.
Example:
rules:
keyword_casing:
enabled: true
style: uppercase
indentation:
enabled: true
size: 4
variable_prefix:
enabled: true
allow_constant_prefix: falseThen run again:
linti my-process.ti --config linti.yaml