From d66933cb1df96812fc36a08c27b062e271f7581a Mon Sep 17 00:00:00 2001 From: Joshua O'Brien Date: Fri, 20 Sep 2024 18:37:04 +1000 Subject: [PATCH] [Docs] `no-relative-packages`: fix typo --- CHANGELOG.md | 5 +++++ docs/rules/no-relative-packages.md | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e7ef808e..32899988a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange - `ExportMap` / flat config: include `languageOptions` in context ([#3052], thanks [@michaelfaith]) - [`no-named-as-default`]: Allow using an identifier if the export is both a named and a default export ([#3032], thanks [@akwodkiewicz]) +### Changed +- [Docs] [`no-relative-packages`]: fix typo ([#3066], thanks [@joshuaobrien]) + ## [2.30.0] - 2024-09-02 ### Added @@ -1136,6 +1139,7 @@ for info on changes for earlier releases. [`memo-parser`]: ./memo-parser/README.md +[#3066]: https://github.com/import-js/eslint-plugin-import/pull/3066 [#3052]: https://github.com/import-js/eslint-plugin-import/pull/3052 [#3043]: https://github.com/import-js/eslint-plugin-import/pull/3043 [#3036]: https://github.com/import-js/eslint-plugin-import/pull/3036 @@ -1840,6 +1844,7 @@ for info on changes for earlier releases. [@johnthagen]: https://github.com/johnthagen [@jonboiser]: https://github.com/jonboiser [@josh]: https://github.com/josh +[@joshuaobrien]: https://github.com/joshuaobrien [@JounQin]: https://github.com/JounQin [@jquense]: https://github.com/jquense [@jseminck]: https://github.com/jseminck diff --git a/docs/rules/no-relative-packages.md b/docs/rules/no-relative-packages.md index 4014ed985..ed724a9eb 100644 --- a/docs/rules/no-relative-packages.md +++ b/docs/rules/no-relative-packages.md @@ -6,8 +6,7 @@ Use this rule to prevent importing packages through relative paths. -It's useful in Yarn/Lerna workspaces, were it's possible to import a sibling -package using `../package` relative path, while direct `package` is the correct one. +It's useful in Yarn/Lerna workspaces, where it's possible to import a sibling package using `../package` relative path, while direct `package` is the correct one. ## Examples