Rule Source
This rule comes from: https://github.com/mesosphere/dcos-docs-site
Rule Definition
extends: existence
message: "Use 'midnight' or 'noon'."
ignorecase: true
level: error
nonword: true
tokens:
- '12 ?[ap]\.?m\.?'
This rule enforces the use of 'midnight' or 'noon' instead of '12 a.m.' or '12 p.m.' respectively. This is a common style guide requirement because '12 a.m.' and '12 p.m.' can be confusing and ambiguous. The terms 'midnight' and 'noon' are clearer and leave no room for misinterpretation. The rule helps maintain clarity in time references and follows best practices in technical and professional writing.
Will flag:
Should use instead:
The rule will catch variations in formatting, including:
This rule comes from: https://github.com/mesosphere/dcos-docs-site
extends: existence
message: "Use 'midnight' or 'noon'."
ignorecase: true
level: error
nonword: true
tokens:
- '12 ?[ap]\.?m\.?'