From 747d6dc5b905a718c89f10aad04cb2bcdbed7068 Mon Sep 17 00:00:00 2001 From: The Jared Wilcurt Date: Wed, 2 Mar 2022 18:26:46 -0500 Subject: [PATCH] [Docs] make rule doc titles consistent matches other docs pages now, easier for copy/pasting the rule --- CHANGELOG.md | 3 +++ docs/rules/dynamic-import-chunkname.md | 2 +- docs/rules/imports-first.md | 2 +- docs/rules/no-import-module-exports.md | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84b1b4aa2..2c9357bf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange - [Tests] `default`, `no-anonymous-default-export`, `no-mutable-exports`, `no-named-as-default-member`, `no-named-as-default`: add tests for arbitrary module namespace names ([#2358], thanks [@sosukesuzuki]) - [Docs] [`no-unresolved`]: Fix RegExp escaping in readme ([#2332], thanks [@stephtr]) - [Refactor] `namespace`: try to improve performance ([#2340], thanks [@ljharb]) +- [Docs] make rule doc titles consistent ([#2393], thanks [@TheJaredWilcurt]) ## [2.25.4] - 2022-01-02 @@ -971,6 +972,7 @@ for info on changes for earlier releases. [`memo-parser`]: ./memo-parser/README.md +[#2393]: https://github.com/import-js/eslint-plugin-import/pull/2393 [#2381]: https://github.com/import-js/eslint-plugin-import/pull/2381 [#2378]: https://github.com/import-js/eslint-plugin-import/pull/2378 [#2371]: https://github.com/import-js/eslint-plugin-import/pull/2371 @@ -1659,6 +1661,7 @@ for info on changes for earlier releases. [@Taranys]: https://github.com/Taranys [@taye]: https://github.com/taye [@TheCrueltySage]: https://github.com/TheCrueltySage +[@TheJaredWilcurt]: https://github.com/TheJaredWilcurt [@tihonove]: https://github.com/tihonove [@timkraut]: https://github.com/timkraut [@tizmagik]: https://github.com/tizmagik diff --git a/docs/rules/dynamic-import-chunkname.md b/docs/rules/dynamic-import-chunkname.md index d29c06bba..6b43074f1 100644 --- a/docs/rules/dynamic-import-chunkname.md +++ b/docs/rules/dynamic-import-chunkname.md @@ -1,4 +1,4 @@ -# dynamic imports require a leading comment with a webpackChunkName (dynamic-import-chunkname) +# import/dynamic-import-chunkname This rule reports any dynamic imports without a webpackChunkName specified in a leading block comment in the proper format. diff --git a/docs/rules/imports-first.md b/docs/rules/imports-first.md index 7dadffa68..4b90f04ea 100644 --- a/docs/rules/imports-first.md +++ b/docs/rules/imports-first.md @@ -1,3 +1,3 @@ -# imports-first +# import/imports-first This rule was **deprecated** in eslint-plugin-import v2.0.0. Please use the corresponding rule [`first`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/first.md). diff --git a/docs/rules/no-import-module-exports.md b/docs/rules/no-import-module-exports.md index 8131fd5f7..d658deb56 100644 --- a/docs/rules/no-import-module-exports.md +++ b/docs/rules/no-import-module-exports.md @@ -1,4 +1,4 @@ -# no-import-module-exports +# import/no-import-module-exports Reports the use of import declarations with CommonJS exports in any module except for the [main module](https://docs.npmjs.com/files/package.json#main).