Soma · Manage concerns
soma concerns lint
Part of soma concerns. See that entry for shared arguments and usage.
soma concerns lint --polarity [--format <markdown|json>]
--polarity is required; format defaults to markdown. Lists questions lacking explicit [expect: yes|no]: exit 1 if any, 0 if all explicit. Malformed polarity syntax is refused with 2. Omitted markers otherwise evaluate as yes; lint makes that implicit assumption visible. It also prints a warning, without changing the exit code, for each [expect: yes] question worded as a condition (a leading if/when/where/whenever/unless clause, or one after a comma) that has no [applies: ...] question; JSON lists them under conditionalWithoutApplies.
See CLI conventions for shared configuration and exit behavior, or browse all commands.