diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c5bf95428f..f2b3ad1539 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,7 +6,7 @@ Your pull requests will be merged after one of the collaborators approve. Thank you! --> -[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md?plain=1)] +[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md?plain=1) ### 🤔 This is a ... diff --git a/.github/PULL_REQUEST_TEMPLATE/pr_cn.md b/.github/PULL_REQUEST_TEMPLATE/pr_cn.md index 046c0c2f54..a014f84a08 100644 --- a/.github/PULL_REQUEST_TEMPLATE/pr_cn.md +++ b/.github/PULL_REQUEST_TEMPLATE/pr_cn.md @@ -6,7 +6,7 @@ 请确保填写以下 pull request 的信息,谢谢!~ --> -[[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md?plain=1)] +[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md?plain=1) ### 🤔 这个变动的性质是? diff --git a/.remarkrc.js b/.remarkrc.js index c7d96ef049..eae6c23f7b 100644 --- a/.remarkrc.js +++ b/.remarkrc.js @@ -1,9 +1,7 @@ const config = { plugins: [ 'remark-preset-lint-recommended', - ['remark-lint-list-item-indent', 'space'], - ['remark-lint-no-literal-urls', false], - ['remark-lint-no-undefined-references', false], + ['remark-lint-no-undefined-references', { allow: [' ', /RFC/] }], ], }; diff --git a/package.json b/package.json index 010fa05cc2..49bf26cfdd 100644 --- a/package.json +++ b/package.json @@ -320,8 +320,8 @@ "remark-cli": "^12.0.0", "remark-gfm": "^4.0.0", "remark-lint": "^10.0.0", - "remark-lint-no-undefined-references": "^4.2.1", - "remark-preset-lint-recommended": "^6.1.3", + "remark-lint-no-undefined-references": "^5.0.0", + "remark-preset-lint-recommended": "^7.0.0", "remark-rehype": "^11.1.0", "runes2": "^1.1.4", "semver": "^7.6.0",