From a3877044924e8155f771d2a1060f32daeb01bf09 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Fri, 21 Jun 2019 13:54:28 +0900 Subject: [PATCH] fix(remark): use official short plugin names (#426) The short version is without `remark-` prefix. For example, see . --- package.json | 10 +++++----- test/fixtures/package-empty_expected.json | 10 +++++----- test/fixtures/package-normal_expected.json | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 4b30c800..e600318c 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/fixtures/package-empty_expected.json b/test/fixtures/package-empty_expected.json index af060687..79d1821b 100644 --- a/test/fixtures/package-empty_expected.json +++ b/test/fixtures/package-empty_expected.json @@ -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": { diff --git a/test/fixtures/package-normal_expected.json b/test/fixtures/package-normal_expected.json index 0adf5bf9..d9423f2e 100644 --- a/test/fixtures/package-normal_expected.json +++ b/test/fixtures/package-normal_expected.json @@ -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": {