Skip to content

Commit

Permalink
fix(remark): use official short plugin names (#426)
Browse files Browse the repository at this point in the history
The short version is without `remark-` prefix.

For example, see <https://www.npmjs.com/package/remark-preset-lint-recommended#use>.
  • Loading branch information
ybiquitous authored Jun 21, 2019
1 parent 6630938 commit a387704
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended",
"remark-lint-no-heading-punctuation",
"preset-lint-recommended",
"lint-no-heading-punctuation",
[
"remark-lint-list-item-bullet-indent",
"lint-list-item-bullet-indent",
false
],
[
"remark-lint-list-item-indent",
"lint-list-item-indent",
false
],
"remark-validate-links"
"validate-links"
]
},
"commitlint": {
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/package-empty_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended",
"remark-lint-no-heading-punctuation",
["remark-lint-list-item-bullet-indent", false],
["remark-lint-list-item-indent", false],
"remark-validate-links"
"preset-lint-recommended",
"lint-no-heading-punctuation",
["lint-list-item-bullet-indent", false],
["lint-list-item-indent", false],
"validate-links"
]
},
"commitlint": {
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/package-normal_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended",
"remark-lint-no-heading-punctuation",
["remark-lint-list-item-bullet-indent", false],
["remark-lint-list-item-indent", false],
"remark-validate-links"
"preset-lint-recommended",
"lint-no-heading-punctuation",
["lint-list-item-bullet-indent", false],
["lint-list-item-indent", false],
"validate-links"
]
},
"commitlint": {
Expand Down

0 comments on commit a387704

Please sign in to comment.