# soma concerns lint

Source: https://usecns.dev/soma-cli-concerns-lint/

[Start here](https://usecns.dev/manual-soma/)
[CLI commands](https://usecns.dev/commands-soma/)
[Configuration & integration](https://usecns.dev/soma-topics/)

Part of [`soma concerns`](https://usecns.dev/soma-cli-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](https://usecns.dev/soma-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-soma/).