Bad Plurals
Sometimes people try to pluralize words by using (s). For example, plant(s).
This rule looks for that behavior and flags it:
extends: existence
message: "Rewrite '%s' to be plural without parentheses."
level: warning
ignorecase: true
raw:
- '\b\w+\(s\)(?<!http\(s\))'
Tags:
Found this useful?
Buy the book