Improve/be consistent with a few parameter descriptions.

This commit is contained in:
David Anson 2023-07-29 15:20:10 -07:00
parent e8cc7eb3cb
commit c83ac3f3db
8 changed files with 22 additions and 25 deletions

View file

@ -986,8 +986,7 @@ Aliases: `no-trailing-punctuation`
Parameters:
- `punctuation`: Punctuation characters not allowed at end of headings
(`string`, default `.,;:!。,;:!`)
- `punctuation`: Punctuation characters (`string`, default `.,;:!。,;:!`)
Fixable: Some violations can be fixed by tooling
@ -2079,8 +2078,8 @@ Aliases: `emphasis-style`
Parameters:
- `style`: Emphasis style should be consistent (`string`, default `consistent`,
values `asterisk` / `consistent` / `underscore`)
- `style`: Emphasis style (`string`, default `consistent`, values `asterisk` /
`consistent` / `underscore`)
Fixable: Some violations can be fixed by tooling
@ -2114,8 +2113,8 @@ Aliases: `strong-style`
Parameters:
- `style`: Strong style should be consistent (`string`, default `consistent`,
values `asterisk` / `consistent` / `underscore`)
- `style`: Strong style (`string`, default `consistent`, values `asterisk` /
`consistent` / `underscore`)
Fixable: Some violations can be fixed by tooling

View file

@ -6,8 +6,7 @@ Aliases: `no-trailing-punctuation`
Parameters:
- `punctuation`: Punctuation characters not allowed at end of headings
(`string`, default `.,;:!。,;:!`)
- `punctuation`: Punctuation characters (`string`, default `.,;:!。,;:!`)
Fixable: Some violations can be fixed by tooling

View file

@ -6,8 +6,8 @@ Aliases: `emphasis-style`
Parameters:
- `style`: Emphasis style should be consistent (`string`, default `consistent`,
values `asterisk` / `consistent` / `underscore`)
- `style`: Emphasis style (`string`, default `consistent`, values `asterisk` /
`consistent` / `underscore`)
Fixable: Some violations can be fixed by tooling

View file

@ -6,8 +6,8 @@ Aliases: `strong-style`
Parameters:
- `style`: Strong style should be consistent (`string`, default `consistent`,
values `asterisk` / `consistent` / `underscore`)
- `style`: Strong style (`string`, default `consistent`, values `asterisk` /
`consistent` / `underscore`)
Fixable: Some violations can be fixed by tooling

View file

@ -139,7 +139,7 @@
// MD026/no-trailing-punctuation - Trailing punctuation in heading
"MD026": {
// Punctuation characters not allowed at end of headings
// Punctuation characters
"punctuation": ".,;:!。,;:!"
},
@ -265,13 +265,13 @@
// MD049/emphasis-style - Emphasis style should be consistent
"MD049": {
// Emphasis style should be consistent
// Emphasis style
"style": "consistent"
},
// MD050/strong-style - Strong style should be consistent
"MD050": {
// Strong style should be consistent
// Strong style
"style": "consistent"
},

View file

@ -127,7 +127,7 @@ MD025:
# MD026/no-trailing-punctuation - Trailing punctuation in heading
MD026:
# Punctuation characters not allowed at end of headings
# Punctuation characters
punctuation: ".,;:!。,;:!"
# MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
@ -240,12 +240,12 @@ MD048:
# MD049/emphasis-style - Emphasis style should be consistent
MD049:
# Emphasis style should be consistent
# Emphasis style
style: "consistent"
# MD050/strong-style - Strong style should be consistent
MD050:
# Strong style should be consistent
# Strong style
style: "consistent"
# MD051/link-fragments - Link fragments should be valid

View file

@ -258,8 +258,7 @@ for (const rule of rules) {
case "MD026":
scheme.properties = {
"punctuation": {
"description":
"Punctuation characters not allowed at end of headings",
"description": "Punctuation characters",
"type": "string",
"default": ".,;:!。,;:!"
}
@ -461,7 +460,7 @@ for (const rule of rules) {
case "MD049":
scheme.properties = {
"style": {
"description": "Emphasis style should be consistent",
"description": "Emphasis style",
"type": "string",
"enum": [
"consistent",
@ -475,7 +474,7 @@ for (const rule of rules) {
case "MD050":
scheme.properties = {
"style": {
"description": "Strong style should be consistent",
"description": "Strong style",
"type": "string",
"enum": [
"consistent",

View file

@ -456,7 +456,7 @@
"default": true,
"properties": {
"punctuation": {
"description": "Punctuation characters not allowed at end of headings",
"description": "Punctuation characters",
"type": "string",
"default": ".,;:!。,;:!"
}
@ -876,7 +876,7 @@
"default": true,
"properties": {
"style": {
"description": "Emphasis style should be consistent",
"description": "Emphasis style",
"type": "string",
"enum": [
"consistent",
@ -900,7 +900,7 @@
"default": true,
"properties": {
"style": {
"description": "Strong style should be consistent",
"description": "Strong style",
"type": "string",
"enum": [
"consistent",