Skip to content

Commit

Permalink
Fix #37
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Nov 8, 2024
1 parent 690fc13 commit 73585e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
pip install yamllint pyyaml docutils
env:
VALE_VERSION: 3.3.0
VALE_VERSION: 3.9.0

- name: Features
run: bundle exec cucumber --format progress
Expand Down
6 changes: 3 additions & 3 deletions Google/AMPM.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
extends: existence
message: "Use 'AM' or 'PM' (preceded by a space)."
link: 'https://developers.google.com/style/word-list'
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}[AP]M\b'
- '\d{1,2} ?[ap]m\b'
- '\d{1,2} ?[aApP]\.[mM]\.'
2 changes: 2 additions & 0 deletions fixtures/AMPM/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
It starts at 10 p.m. tonight.

I'll be there at 10PM; will you make it by 11 PM?

A sentence about 5 ampoules should not be flagged.

0 comments on commit 73585e3

Please sign in to comment.