|
| 1 | +Feature: Rules |
| 2 | + |
| 3 | + Scenario: Cliches |
| 4 | + When I test "basic" |
| 5 | + Then the output should contain exactly: |
| 6 | + """ |
| 7 | + test.md:1:19:proselint.Nonwords:Consider using 'regardless' instead of 'irregardless'. |
| 8 | + test.md:3:18:proselint.Archaisms:'perchance' is archaic. |
| 9 | + test.md:7:6:proselint.Cliches:'a chip off the old block' is a cliche. |
| 10 | + test.md:9:12:proselint.Cliches:'a fate worse than death' is a cliche. |
| 11 | + test.md:11:20:proselint.Spelling:Inconsistent spelling of 'color'. |
| 12 | + test.md:11:61:proselint.Spelling:Inconsistent spelling of 'center'. |
| 13 | + test.md:13:9:proselint.CorporateSpeak:'circle back around' is corporate speak. |
| 14 | + test.md:15:5:proselint.Cursing:Consider replacing 'shit'. |
| 15 | + test.md:17:16:proselint.DateCase:With lowercase letters, the periods are standard. |
| 16 | + test.md:17:37:proselint.DateSpacing:It's standard to put a space before '7a.m.' |
| 17 | + test.md:17:58:proselint.DateMidnight:Use 'midnight' or 'noon'. |
| 18 | + test.md:17:81:proselint.DateRedundancy:'a.m.' is always morning; 'p.m.' is always night. |
| 19 | + test.md:19:18:proselint.Uncomparables:'most correct' is not comparable |
| 20 | + test.md:21:1:proselint.Hedging:'I would argue that' is hedging. |
| 21 | + test.md:23:4:proselint.Hyperbole:'exaggerated!!!' is hyperbolic. |
| 22 | + test.md:25:14:proselint.Jargon:'in the affirmative' is jargon. |
| 23 | + test.md:27:10:proselint.Illusions:'the the' - There's a lexical illusion here. |
| 24 | + test.md:29:14:proselint.LGBTOffensive:'fag' is offensive. Remove it or consider the context. |
| 25 | + test.md:29:44:proselint.LGBTTerms:Consider using 'sexual orientation' instead of 'sexual preference'. |
| 26 | + test.md:31:10:proselint.Malapropisms:'the Infinitesimal Universe' is a malapropism. |
| 27 | + test.md:33:1:proselint.Apologizing:Excessive apologizing: 'More research is needed' |
| 28 | + test.md:35:1:proselint.But:Do not start a paragraph with a 'but'. |
| 29 | + test.md:37:9:proselint.Currency:Incorrect use of symbols in '$10 dollars'. |
| 30 | + test.md:39:14:proselint.Oxymorons:'exact estimate' is an oxymoron. |
| 31 | + test.md:41:38:proselint.GenderBias:Consider using 'lawyer' instead of 'lady lawyer'. |
| 32 | + test.md:43:11:proselint.Skunked:'impassionate' is a bit of a skunked term — impossible to use without issue. |
| 33 | + test.md:45:21:proselint.DenizenLabels:Did you mean 'Hong Konger'? |
| 34 | + test.md:47:13:proselint.AnimalLabels:Consider using 'avine' instead of 'bird-like'. |
| 35 | + test.md:49:20:proselint.Typography:Consider using the '©' symbol instead of '(C)'. |
| 36 | + test.md:49:40:proselint.Typography:Consider using the '™' symbol instead of '(tm)'. |
| 37 | + test.md:49:56:proselint.Typography:Consider using the '®' symbol instead of '(R)'. |
| 38 | + test.md:49:79:proselint.Typography:Consider using the '×' symbol instead of '2 x 2'. |
| 39 | + test.md:51:27:proselint.Diacritical:Consider using 'Beyoncé' instead of 'Beyonce'. |
| 40 | + test.md:51:36:proselint.P-Value:You should use more decimal places, unless 'p = 0.00' is really true. |
| 41 | + test.md:51:47:proselint.Needless:Prefer 'abolition' over 'abolishment' |
| 42 | + """ |
0 commit comments