We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93c9ffa commit cf12614Copy full SHA for cf12614
compris/PreferredAlternatives.yml
@@ -6,3 +6,5 @@ action:
6
name: replace
7
swap:
8
0-day: zero-day
9
+ 12 am: midnight
10
+ 12 pm: noon
fixtures/PreferredAlternatives/test.md
@@ -2,3 +2,9 @@
2
3
<!-- 0-day -->
4
A hacker forum was found selling a 0-day exploit for a popular web browser.
5
+
+<!-- 12 am -->
+Our online support is available until 12 am.
+<!-- 12 pm -->
+Please submit your report by 12 pm tomorrow.
test/expectations/PreferredAlternatives.log
@@ -1 +1,3 @@
1
test.md:4:36:compris.PreferredAlternatives:Prefer using 'Zero-day' over '0-day'.
+test.md:7:39:compris.PreferredAlternatives:Prefer using 'Midnight' over '12 am'.
+test.md:10:30:compris.PreferredAlternatives:Prefer using 'Noon' over '12 pm'.
0 commit comments