Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Validate v2 mobile test and module YAML files: schema, local file references (modules, JS steps, JSON files), and entity ID conflicts. Applies only to v2 format files (momentic/mobile-test/v2 and momentic/mobile-module/v2). Lint runs automatically before starting the local mobile app and before executing tests, so normal app and test workflows already block invalid v2 YAML. Use this command for fast standalone validation in pre-commit hooks, in CI, or after agent-authored edits.
npx momentic-mobile lint

Arguments

[path]
string
Path to a single .test.yaml or .module.yaml file to lint. Defaults to the entire project, which can take several seconds in large workspaces.

Options

-c, --config <config>
string
Path to the Momentic configuration file. Defaults to momentic.config.yaml in the current directory.

Examples

Lint the entire project:
npx momentic-mobile lint
Lint a single test file:
npx momentic-mobile lint mobile-tests/login.test.yaml