Skip to content

Commit 24e7144

Browse files
committed
Update lint rules
1 parent 1759331 commit 24e7144

1 file changed

Lines changed: 46 additions & 46 deletions

File tree

etc/remark/plugins/lint/index.js

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ plugins.push([
3333
* @example
3434
* <!-- Bad -->
3535
*
36-
* * [X] checked
36+
* * [X] checked
3737
*
3838
* @example
3939
* <!-- Good -->
4040
*
41-
* * [x] checked
41+
* * [x] checked
4242
*/
4343
plugins.push([
4444
require( 'remark-lint-checkbox-character-style' ),
@@ -59,12 +59,12 @@ plugins.push([
5959
* @example
6060
* <!-- Bad -->
6161
*
62-
* * [x] checked
62+
* * [x] checked
6363
*
6464
* @example
6565
* <!-- Good -->
6666
*
67-
* * [x] checked
67+
* * [x] checked
6868
*/
6969
plugins.push([
7070
require( 'remark-lint-checkbox-content-indent' ),
@@ -335,14 +335,14 @@ plugins.push([
335335
* @example
336336
* <!-- Bad -->
337337
*
338-
* * Beep
339-
* * Boop
338+
* * Beep
339+
* * Boop
340340
*
341341
* @example
342342
* <!-- Good -->
343343
*
344-
* * Beep
345-
* * Boop
344+
* * Beep
345+
* * Boop
346346
*
347347
*/
348348
plugins.push([
@@ -358,14 +358,14 @@ plugins.push([
358358
* @example
359359
* <!-- Bad -->
360360
*
361-
* * Beep
362-
* - Boop
361+
* * Beep
362+
* - Boop
363363
*
364364
* @example
365365
* <!-- Good -->
366366
*
367-
* * Beep
368-
* - Boop
367+
* * Beep
368+
* - Boop
369369
*
370370
*/
371371
plugins.push([
@@ -381,17 +381,17 @@ plugins.push([
381381
* @example
382382
* <!-- Good -->
383383
*
384-
* * Hello
385-
* * World
384+
* * Hello
385+
* * World
386386
*
387387
* @example
388388
* <!-- Good -->
389389
*
390-
* * Beep
391-
* boop
390+
* * Beep
391+
* boop
392392
*
393-
* * Bop
394-
* bip
393+
* * Bop
394+
* bip
395395
*
396396
*/
397397
plugins.push([
@@ -407,26 +407,26 @@ plugins.push([
407407
* @example
408408
* <!-- Bad -->
409409
*
410-
* * Beep
411-
* * Boop
410+
* * Beep
411+
* * Boop
412412
*
413-
* * Bop
413+
* * Bop
414414
*
415415
* @example
416416
* <!-- Good -->
417417
*
418-
* * Beep
419-
* * Boop
420-
* * Bop
418+
* * Beep
419+
* * Boop
420+
* * Bop
421421
*
422422
* @example
423423
* <!-- Okay -->
424424
*
425-
* * Beep
425+
* * Beep
426426
*
427-
* * Boop
427+
* * Boop
428428
*
429-
* * Bop
429+
* * Bop
430430
*
431431
*/
432432
plugins.push([
@@ -998,7 +998,7 @@ plugins.push([
998998
]);
999999

10001000
/**
1001-
* Never allow table indentation.
1001+
* Never allow table indentation. Note that the exception is when a table correspond to a list item.
10021002
*
10031003
* @see [no-table-indentation]{@link https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-no-table-indentation}
10041004
*
@@ -1027,7 +1027,7 @@ plugins.push([
10271027
]);
10281028

10291029
/**
1030-
* Never allow the use of spaces.
1030+
* Never allow the use of tabs.
10311031
*
10321032
* @see [no-tabs]{@link https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-no-tabs}
10331033
*/
@@ -1133,45 +1133,45 @@ plugins.push([
11331133
]);
11341134

11351135
/**
1136-
* Require that the horizontal rule style be three consecutive dashes `---`.
1136+
* Require that the horizontal rule style be three consecutive asterisks `---`.
11371137
*
11381138
* @see [rule-style]{@link https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-rule-style}
11391139
*
11401140
* @example
11411141
* <!-- Bad -->
11421142
*
1143-
* * * *
1143+
* ---
11441144
*
11451145
* @example
11461146
* <!-- Good -->
11471147
*
1148-
* ---
1148+
* * * *
11491149
*
11501150
*/
11511151
plugins.push([
11521152
require( 'remark-lint-rule-style' ),
1153-
[ 'error', '---' ]
1153+
[ 'error', '* * *' ]
11541154
]);
11551155

11561156
/**
1157-
* Set the strong marker to underscores.
1157+
* Set the strong marker to asterisks.
11581158
*
11591159
* @see [strong-marker]{@link https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-strong-marker}
11601160
*
11611161
* @example
11621162
* <!-- Bad -->
11631163
*
1164-
* **Beep**.
1164+
* __Beep__.
11651165
*
11661166
* @example
11671167
* <!-- Good -->
11681168
*
1169-
* __Beep__.
1169+
* **Beep**.
11701170
*
11711171
*/
11721172
plugins.push([
11731173
require( 'remark-lint-strong-marker' ),
1174-
[ 'error', '_' ]
1174+
[ 'error', '*' ]
11751175
]);
11761176

11771177
/**
@@ -1250,30 +1250,30 @@ plugins.push([
12501250
]);
12511251

12521252
/**
1253-
* Prefer that the unordered list marker be an asterisk `*`, but allow discretion to maximize clarity and readability.
1253+
* Require that the unordered list marker be a dash `-`.
12541254
*
12551255
* @see [unordered-list-marker-style]{@link https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-unordered-list-marker-style}
12561256
*
12571257
* @example
1258-
* <!-- Okay -->
1258+
* <!-- Bad -->
12591259
*
1260-
* * Beep
1261-
* * Boop
1260+
* * Beep
1261+
* * Boop
12621262
*
12631263
* @example
12641264
* <!-- Okay -->
12651265
*
1266-
* * Beep
1266+
* - Beep
12671267
*
1268-
* - Foo
1269-
* - Bar
1268+
* - Foo
1269+
* - Bar
12701270
*
1271-
* * Boop
1271+
* - Boop
12721272
*
12731273
*/
12741274
plugins.push([
12751275
require( 'remark-lint-unordered-list-marker-style' ),
1276-
[ 'off', '*' ]
1276+
[ 'error', '-' ]
12771277
]);
12781278

12791279

0 commit comments

Comments
 (0)