-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
bmahkib edited this page Feb 2, 2026
·
1 revision
RMA can be configured using a rma.toml file in your project root.
config_version = 1
[analysis]
severity = "warning"
skip_tests = true
parallel = true
[rules]
enabled = ["security", "quality"]
disabled = ["style/line-length"]
[paths]
include = ["src/", "lib/"]
exclude = ["vendor/", "node_modules/", "target/"][analysis]
severity = "warning" # critical, error, warning, info
skip_tests = true # Skip test files (security rules still apply)
skip_tests_all = false # Skip ALL findings in test files
cross_file = false # Enable cross-file analysis
parallel_workers = 0 # 0 = auto-detect CPU cores
profile = "balanced" # fast, balanced, strict[rules]
enabled = ["security", "quality", "performance"]
disabled = ["style/line-length", "generic/todo-comment"]
[rules.overrides."rust/unwrap-on-user-input"]
severity = "error"[paths]
include = ["src/**", "lib/**"]
exclude = ["node_modules/**", "vendor/**", "target/**"]rma scan . --profile fast # Quick scans, high-confidence only
rma scan . --profile balanced # Default, good balance
rma scan . --profile strict # Maximum coverage, all rules// rma-ignore-next-line js/no-console
console.log('Debug');# rma-ignore-next-line python/bare-except// rma-ignore-next-line rust/unwrap-on-user-input reason="validated"-
RMA_CONFIG- Path to config file -
RMA_LOG- Log level (error, warn, info, debug) -
NO_COLOR- Disable colors