summaryrefslogtreecommitdiff
path: root/.github/styles/Google/AMPM.yml
blob: fbdc6e4f84b95f040ff9b957c459885f16ea9551 (plain)
1
2
3
4
5
6
7
8
9
extends: existence
message: "Use 'AM' or 'PM' (preceded by a space)."
link: 'https://developers.google.com/style/word-list'
level: error
nonword: true
tokens:
  - '\d{1,2}[AP]M'
  - '\d{1,2} ?[ap]m'
  - '\d{1,2} ?[aApP]\.[mM]\.'