Skip to content

Commit 20a2ffa

Browse files
committed
feat(test): simplify
1 parent 973b6af commit 20a2ffa

31 files changed

+172
-252
lines changed

test/expectations/AMPM.log

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test.md:3:24:compris.AMPM:Use 'am' or 'pm' else 'a.m.' or 'p.m.' (preceded by a space).
2+
test.md:4:33:compris.AMPM:Use 'am' or 'pm' else 'a.m.' or 'p.m.' (preceded by a space).
3+
test.md:4:41:compris.AMPM:Use 'am' or 'pm' else 'a.m.' or 'p.m.' (preceded by a space).
4+
test.md:5:33:compris.AMPM:Use 'am' or 'pm' else 'a.m.' or 'p.m.' (preceded by a space).
5+
test.md:6:30:compris.AMPM:Use 'am' or 'pm' else 'a.m.' or 'p.m.' (preceded by a space).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.md:3:45:compris.AbbreviationPeriods:Don't use periods with abbreviations such as 'H.T.T.P.S.'.

test/expectations/Contractions.log

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
test.md:4:48:compris.Contractions:Avoid contractions. Use 'accessibility' instead of 'a11y'.
2+
test.md:7:13:compris.Contractions:Avoid contractions. Use 'or' or 'also known as' instead of 'aka'.
3+
test.md:8:28:compris.Contractions:Avoid contractions. Use 'or' or 'also known as' instead of 'a.k.a'.
4+
test.md:11:24:compris.Contractions:Avoid contractions. Use 'are not' instead of 'aren't'.
5+
test.md:14:3:compris.Contractions:Avoid contractions. Use 'cannot' instead of 'can't'.
6+
test.md:17:3:compris.Contractions:Avoid contractions. Use 'could have' instead of 'could've'.
7+
test.md:20:5:compris.Contractions:Avoid contractions. Use 'could not' instead of 'couldn't'.
8+
test.md:23:4:compris.Contractions:Avoid contractions. Use 'did not' instead of 'didn't'.
9+
test.md:26:3:compris.Contractions:Avoid contractions. Use 'do not' instead of 'don't'.
10+
test.md:29:26:compris.Contractions:Avoid contractions. Use 'does not' instead of 'doesn't'.
11+
test.md:32:11:compris.Contractions:Avoid contractions. Use 'globalization' instead of 'g11n'.
12+
test.md:35:4:compris.Contractions:Avoid contractions. Use 'had not' instead of 'hadn't'.
13+
test.md:38:13:compris.Contractions:Avoid contractions. Use 'has not' instead of 'hasn't'.
14+
test.md:40:6:compris.Contractions:Avoid contractions. Use 'have not' instead of 'haven't'.
15+
test.md:44:1:compris.Contractions:Avoid contractions. Use 'He had' or 'He would' instead of 'He'd'.
16+
test.md:45:1:compris.Contractions:Avoid contractions. Use 'He had' or 'He would' instead of 'He'd'.
17+
test.md:48:1:compris.Contractions:Avoid contractions. Use 'He is' or 'He has' instead of 'He's'.
18+
test.md:49:1:compris.Contractions:Avoid contractions. Use 'He is' or 'He has' instead of 'He's'.
19+
test.md:52:1:compris.Contractions:Avoid contractions. Use 'He will' or 'He shall' instead of 'He'll'.
20+
test.md:55:1:compris.Contractions:Avoid contractions. Use 'Here had' or 'Here would' instead of 'Here'd'.
21+
test.md:56:1:compris.Contractions:Avoid contractions. Use 'Here had' or 'Here would' instead of 'Here'd'.
22+
test.md:59:1:compris.Contractions:Avoid contractions. Use 'Here is' or 'Here has' instead of 'Here's'.
23+
test.md:62:1:compris.Contractions:Avoid contractions. Use 'How did' or 'How would' instead of 'How'd'.
24+
test.md:63:1:compris.Contractions:Avoid contractions. Use 'How did' or 'How would' instead of 'How'd'.
25+
test.md:66:1:compris.Contractions:Avoid contractions. Use 'How is' instead of 'How's'.
26+
test.md:69:1:compris.Contractions:Avoid contractions. Use 'How will' instead of 'How'll'.
27+
test.md:72:1:compris.Contractions:Avoid contractions. Use 'I am' instead of 'I'm'.
28+
test.md:75:1:compris.Contractions:Avoid contractions. Use 'I had' or 'I would' instead of 'I'd'.
29+
test.md:78:1:compris.Contractions:Avoid contractions. Use 'I have' instead of 'I've'.
30+
test.md:81:1:compris.Contractions:Avoid contractions. Use 'I will' instead of 'I'll'.
31+
test.md:84:5:compris.Contractions:Avoid contractions. Use 'internationalization' instead of 'i18n'.
32+
test.md:87:11:compris.Contractions:Avoid contractions. Use 'is not' instead of 'isn't'.
33+
test.md:90:1:compris.Contractions:Avoid contractions. Use 'It had' or 'It would' instead of 'It'd'.
34+
test.md:91:1:compris.Contractions:Avoid contractions. Use 'It had' or 'It would' instead of 'It'd'.
35+
test.md:94:1:compris.Contractions:Avoid contractions. Use 'It is' or 'It has' instead of 'It's'.
36+
test.md:95:1:compris.Contractions:Avoid contractions. Use 'It is' or 'It has' instead of 'It's'.
37+
test.md:98:1:compris.Contractions:Avoid contractions. Use 'It will' or 'It shall' instead of 'It'll'.
38+
test.md:101:8:compris.Contractions:Avoid contractions. Use 'Kubernetes' instead of 'k8s'.
39+
test.md:104:1:compris.Contractions:Avoid contractions. Use 'Let us' instead of 'Let's'.
40+
test.md:107:5:compris.Contractions:Avoid contractions. Use 'localization' instead of 'l10n'.
41+
test.md:110:19:compris.Contractions:Avoid contractions. Use 'personalization' instead of 'p13n'.
42+
test.md:113:1:compris.Contractions:Avoid contractions. Use 'She had' or 'She would' instead of 'She'd'.
43+
test.md:114:1:compris.Contractions:Avoid contractions. Use 'She had' or 'She would' instead of 'She'd'.
44+
test.md:117:1:compris.Contractions:Avoid contractions. Use 'She is' or 'She has' instead of 'She's'.
45+
test.md:118:1:compris.Contractions:Avoid contractions. Use 'She is' or 'She has' instead of 'She's'.
46+
test.md:121:1:compris.Contractions:Avoid contractions. Use 'She will' or 'She shall' instead of 'She'll'.
47+
test.md:124:3:compris.Contractions:Avoid contractions. Use 'should have' instead of 'should've'.
48+
test.md:127:4:compris.Contractions:Avoid contractions. Use 'should not' instead of 'shouldn't'.
49+
test.md:130:1:compris.Contractions:Avoid contractions. Use 'Somebody had' or 'Somebody would' instead of 'Somebody'd'.
50+
test.md:131:1:compris.Contractions:Avoid contractions. Use 'Somebody had' or 'Somebody would' instead of 'Somebody'd'.
51+
test.md:134:1:compris.Contractions:Avoid contractions. Use 'Someone had' or 'Someone would' instead of 'Someone'd'.
52+
test.md:135:1:compris.Contractions:Avoid contractions. Use 'Someone had' or 'Someone would' instead of 'Someone'd'.
53+
test.md:138:12:compris.Contractions:Avoid contractions. Use 'that had' or 'that would' instead of 'that'd'.
54+
test.md:139:1:compris.Contractions:Avoid contractions. Use 'That had' or 'That would' instead of 'That'd'.
55+
test.md:142:1:compris.Contractions:Avoid contractions. Use 'That is' or 'That has' instead of 'That's'.
56+
test.md:143:9:compris.Contractions:Avoid contractions. Use 'that is' or 'that has' instead of 'that's'.
57+
test.md:146:25:compris.Contractions:Avoid contractions. Use 'that will' instead of 'that'll'.
58+
test.md:149:19:compris.Contractions:Avoid contractions. Use 'they are' instead of 'they're'.
59+
test.md:152:1:compris.Contractions:Avoid contractions. Use 'There would' or 'There had' instead of 'There'd'.
60+
test.md:153:1:compris.Contractions:Avoid contractions. Use 'There would' or 'There had' instead of 'There'd'.
61+
test.md:156:1:compris.Contractions:Avoid contractions. Use 'There is' or 'There has' instead of 'There's'.
62+
test.md:157:1:compris.Contractions:Avoid contractions. Use 'There is' or 'There has' instead of 'There's'.
63+
test.md:160:9:compris.Contractions:Avoid contractions. Use 'they had' or 'they would' instead of 'they'd'.
64+
test.md:161:1:compris.Contractions:Avoid contractions. Use 'They had' or 'They would' instead of 'They'd'.
65+
test.md:164:1:compris.Contractions:Avoid contractions. Use 'They have' instead of 'They've'.
66+
test.md:167:34:compris.Contractions:Avoid contractions. Use 'they will' or 'they shall' instead of 'they'll'.
67+
test.md:170:4:compris.Contractions:Avoid contractions. Use 'was not' instead of 'wasn't'.
68+
test.md:173:1:compris.Contractions:Avoid contractions. Use 'We are' instead of 'We're'.
69+
test.md:176:1:compris.Contractions:Avoid contractions. Use 'We have' instead of 'We've'.
70+
test.md:179:1:compris.Contractions:Avoid contractions. Use 'We will' instead of 'We'll'.
71+
test.md:182:1:compris.Contractions:Avoid contractions. Use 'We would' or 'We had' instead of 'We'd'.
72+
test.md:183:1:compris.Contractions:Avoid contractions. Use 'We would' or 'We had' instead of 'We'd'.
73+
test.md:186:11:compris.Contractions:Avoid contractions. Use 'were not' instead of 'weren't'.
74+
test.md:189:1:compris.Contractions:Avoid contractions. Use 'What did' instead of 'What'd'.
75+
test.md:192:1:compris.Contractions:Avoid contractions. Use 'What is' instead of 'What's'.
76+
test.md:195:1:compris.Contractions:Avoid contractions. Use 'What will' instead of 'What'll'.
77+
test.md:198:1:compris.Contractions:Avoid contractions. Use 'When did' instead of 'When'd'.
78+
test.md:201:1:compris.Contractions:Avoid contractions. Use 'When is' or 'When has' instead of 'When's'.
79+
test.md:202:1:compris.Contractions:Avoid contractions. Use 'When is' or 'When has' instead of 'When's'.
80+
test.md:205:1:compris.Contractions:Avoid contractions. Use 'When will' instead of 'When'll'.
81+
test.md:208:1:compris.Contractions:Avoid contractions. Use 'Where did' instead of 'Where'd'.
82+
test.md:211:1:compris.Contractions:Avoid contractions. Use 'Where is' or 'Where has' instead of 'Where's'.
83+
test.md:212:1:compris.Contractions:Avoid contractions. Use 'Where is' or 'Where has' instead of 'Where's'.
84+
test.md:215:1:compris.Contractions:Avoid contractions. Use 'Where will' instead of 'Where'll'.
85+
test.md:218:1:compris.Contractions:Avoid contractions. Use 'Which would' or 'Which had' instead of 'Which'd'.
86+
test.md:221:1:compris.Contractions:Avoid contractions. Use 'Who had' or 'Who would' instead of 'Who'd'.
87+
test.md:224:1:compris.Contractions:Avoid contractions. Use 'Who are' instead of 'Who're'.
88+
test.md:227:1:compris.Contractions:Avoid contractions. Use 'Who is' or 'Who has' instead of 'Who's'.
89+
test.md:228:1:compris.Contractions:Avoid contractions. Use 'Who is' or 'Who has' instead of 'Who's'.
90+
test.md:231:1:compris.Contractions:Avoid contractions. Use 'Who will' instead of 'Who'll'.
91+
test.md:234:1:compris.Contractions:Avoid contractions. Use 'Why are' instead of 'Why're'.
92+
test.md:237:1:compris.Contractions:Avoid contractions. Use 'Why did' or 'Why would' instead of 'Why'd'.
93+
test.md:240:1:compris.Contractions:Avoid contractions. Use 'Why is' or 'Why has' instead of 'Why's'.
94+
test.md:243:5:compris.Contractions:Avoid contractions. Use 'will have' instead of 'will've'.
95+
test.md:246:4:compris.Contractions:Avoid contractions. Use 'will not' instead of 'won't'.
96+
test.md:249:12:compris.Contractions:Avoid contractions. Use 'with ' instead of 'w/'.
97+
test.md:252:26:compris.Contractions:Avoid contractions. Use 'without' instead of 'w/o'.
98+
test.md:255:3:compris.Contractions:Avoid contractions. Use 'would have' instead of 'would've'.
99+
test.md:258:4:compris.Contractions:Avoid contractions. Use 'would not' instead of 'wouldn't'.
100+
test.md:261:14:compris.Contractions:Avoid contractions. Use 'you are' instead of 'you're'.
101+
test.md:264:1:compris.Contractions:Avoid contractions. Use 'You had' or 'You would' instead of 'You'd'.
102+
test.md:265:4:compris.Contractions:Avoid contractions. Use 'you had' or 'you would' instead of 'you'd'.
103+
test.md:268:7:compris.Contractions:Avoid contractions. Use 'you have' instead of 'you've'.
104+
test.md:271:1:compris.Contractions:Avoid contractions. Use 'You will' instead of 'You'll'.

test/expectations/Ellipsis.log

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test.md:3:23:compris.Ellipsis:In general, don't use an ellipsis.
2+
test.md:4:22:compris.Ellipsis:In general, don't use an ellipsis.

test/expectations/EmDash.log

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test.md:3:16:compris.EmDash:Add spaces around '—'.
2+
test.md:3:45:compris.EmDash:Add spaces around '—'.

test/expectations/EnDash.log

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test.md:3:47:compris.EnDash:Remove the spaces around '–'.
2+
test.md:4:31:compris.EnDash:Remove the spaces around '–'.
3+
test.md:5:42:compris.EnDash:Remove the spaces around '–'.

test/expectations/Latin.log

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
test.md:4:13:compris.Latin:Avoid latin. Use 'around' or 'about' instead of 'circa'.
2+
test.md:7:20:compris.Latin:Avoid latin. Use 'for example' instead of 'e.g.,'.
3+
test.md:8:33:compris.Latin:Avoid latin. Use 'for example' instead of 'eg,'.
4+
test.md:11:38:compris.Latin:Avoid latin. Use 'therefore' instead of 'ergo'.
5+
test.md:14:8:compris.Latin:Avoid latin. Use 'and others' instead of 'et al.'.
6+
test.md:17:38:compris.Latin:Avoid latin. Use 'and other(s)' instead of 'etc.'.
7+
test.md:20:20:compris.Latin:Avoid latin. Use 'that is' instead of 'i.e.,'.
8+
test.md:21:33:compris.Latin:Avoid latin. Use 'that is' instead of 'ie,'.
9+
test.md:24:22:compris.Latin:Avoid latin. Use 'against' instead of 'vs.'.
10+
test.md:27:26:compris.Latin:Avoid latin. Use 'against' instead of 'versus'.
11+
test.md:30:33:compris.Latin:Avoid latin. Use 'over' or 'through' instead of 'via'.
12+
test.md:33:31:compris.Latin:Avoid latin. Use 'namely' instead of 'viz.'.

test/expectations/OptionalPlurals.log

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test.md:3:23:compris.OptionalPlurals:Don't use plurals in parentheses such as in 'extension(s)'.
2+
test.md:4:5:compris.OptionalPlurals:Don't use plurals in parentheses such as in 'checkbox(es)'.

test/expectations/OxfordComma.log

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test.md:3:41:compris.OxfordComma:Use the Oxford comma in 'flour, sugar, eggs and butter.'.
2+
test.md:5:20:compris.OxfordComma:Use the Oxford comma in 'clothes, toiletries or books?'.

test/expectations/Percentages.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.md:3:28:compris.Percentages:Use a numeral to represent a percentage.

test/expectations/Semicolon.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.md:3:33:compris.Semicolon:Try to simplify this sentence.

test/expectations/SentenceLength.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.md:3:1:compris.SentenceLength:Try to keep sentences short (< 30 words).

test/expectations/Space.log

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test.md:3:20:compris.Space:'garden bloomed' should have one space between them.
2+
test.md:4:35:compris.Space:'door. It' should have one space between them.
3+
test.md:5:18:compris.Space:'melody.It' should have one space between them.
4+
test.md:6:29:compris.Space:'ruins? They' should have one space between them.
5+
test.md:7:32:compris.Space:', marveling' should have one space between them.
6+
test.md:8:1:compris.Space:'Whoa! This' should have one space between them.

test/expectations/WordRepitition.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.md:3:14:compris.WordRepitition:'zoom' is repeated.

test/parameters/AMPM/index.js

-10
This file was deleted.

test/parameters/AbbreviationPeriods/index.js

-6
This file was deleted.

0 commit comments

Comments
 (0)