conventional-changelog / conventional-changelog/commitlint
`negated` rule API
Open
question
- Dominant language
- TypeScript
- Stars
- 18.7k
- Forks
- 970
- Avg merge
- 7h 33m
- Merged PRs (30d)
- 49
Description
I am trying add the new rule to fix https://github.com/conventional-changelog/commitlint/issues/3810 and I find the lines around `negated` puzzling. For example, https://github.com/conventional-changelog/commitlint/blob/3ee4c2884ffd0783e605e0ab57c37523a3709b3c/%40commitlint/rules/src/body-case.ts#L5
Why each rule has to calculate this negated property?
Why it can not just receive the `negated` as a bool param?
Where this `negated` is realistically used?
Contributor guide
Assessment
This issue has not been assessed yet.