File tree 5 files changed +8
-3
lines changed
5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 17
17
*
18
18
* ###### Parameters
19
19
*
20
- * * `options` ([`Options`][api-options], default: `'ordered '`)
20
+ * * `options` ([`Options`][api-options], default: `'consistent '`)
21
21
* — preferred style
22
22
*
23
23
* ###### Returns
@@ -253,7 +253,7 @@ const remarkLintOrderedListMarkerValue = lintRule(
253
253
* @param {Root } tree
254
254
* Tree.
255
255
* @param {Options | null | undefined } [options='consistent']
256
- * Configuration (default: `'ordered '`).
256
+ * Configuration (default: `'consistent '`).
257
257
* @returns {undefined }
258
258
* Nothing.
259
259
*/
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ This plugin is included in the following presets:
44
44
45
45
| Preset | Options |
46
46
| - | - |
47
+ | [ ` remark-preset-lint-consistent ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-consistent ) | ` 'consistent' ` |
47
48
| [ ` remark-preset-lint-markdown-style-guide ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-markdown-style-guide ) | ` 'one' ` |
48
49
49
50
## Install
@@ -131,7 +132,7 @@ Warn when ordered list values are inconsistent.
131
132
132
133
###### Parameters
133
134
134
- * ` options ` ([ ` Options ` ] [ api-options ] , default: ` 'ordered ' ` )
135
+ * ` options ` ([ ` Options ` ] [ api-options ] , default: ` 'consistent ' ` )
135
136
— preferred style
136
137
137
138
###### Returns
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ import remarkLintHeadingStyle from 'remark-lint-heading-style'
36
36
import remarkLintLinkTitleStyle from 'remark-lint-link-title-style'
37
37
import remarkLintListItemContentIndent from 'remark-lint-list-item-content-indent'
38
38
import remarkLintOrderedListMarkerStyle from 'remark-lint-ordered-list-marker-style'
39
+ import remarkLintOrderedListMarkerValue from 'remark-lint-ordered-list-marker-value'
39
40
import remarkLintRuleStyle from 'remark-lint-rule-style'
40
41
import remarkLintStrongMarker from 'remark-lint-strong-marker'
41
42
import remarkLintTableCellPadding from 'remark-lint-table-cell-padding'
@@ -53,6 +54,7 @@ const remarkPresetLintConsistent = {
53
54
[ remarkLintLinkTitleStyle , 'consistent' ] ,
54
55
remarkLintListItemContentIndent ,
55
56
[ remarkLintOrderedListMarkerStyle , 'consistent' ] ,
57
+ [ remarkLintOrderedListMarkerValue , 'consistent' ] ,
56
58
[ remarkLintRuleStyle , 'consistent' ] ,
57
59
[ remarkLintStrongMarker , 'consistent' ] ,
58
60
[ remarkLintTableCellPadding , 'consistent' ]
Original file line number Diff line number Diff line change 40
40
"remark-lint-link-title-style" : " ^3.0.0" ,
41
41
"remark-lint-list-item-content-indent" : " ^3.0.0" ,
42
42
"remark-lint-ordered-list-marker-style" : " ^3.0.0" ,
43
+ "remark-lint-ordered-list-marker-value" : " ^3.0.0" ,
43
44
"remark-lint-rule-style" : " ^3.0.0" ,
44
45
"remark-lint-strong-marker" : " ^3.0.0" ,
45
46
"remark-lint-table-cell-padding" : " ^4.0.0" ,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ This preset includes the following plugins:
50
50
| [ ` remark-lint-link-title-style ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-link-title-style ) | ` 'consistent' ` |
51
51
| [ ` remark-lint-list-item-content-indent ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-content-indent ) | |
52
52
| [ ` remark-lint-ordered-list-marker-style ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-style ) | ` 'consistent' ` |
53
+ | [ ` remark-lint-ordered-list-marker-value ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-value ) | ` 'consistent' ` |
53
54
| [ ` remark-lint-rule-style ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-rule-style ) | ` 'consistent' ` |
54
55
| [ ` remark-lint-strong-marker ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-strong-marker ) | ` 'consistent' ` |
55
56
| [ ` remark-lint-table-cell-padding ` ] ( https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-cell-padding ) | ` 'consistent' ` |
You can’t perform that action at this time.
0 commit comments