Skip to content

Commit

Permalink
[Docs] no-relative-packages: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaobrien authored and ljharb committed Sep 20, 2024
1 parent f72f207 commit d66933c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions docs/rules/no-relative-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d66933c

Please sign in to comment.