Skip to content

Commit bc99b86

Browse files
arvigeusljharb
authored andcommitted
[Docs] Add no-relative-packages to list of to the list of rules
1 parent a332f20 commit bc99b86

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
66

77
## [Unreleased]
88

9+
### Changed
10+
- [Docs] Add `no-relative-packages` to list of to the list of rules ([#2075], thanks [@arvigeus])
11+
912
## [2.23.2] - 2021-05-15
1013

1114
### Changed
@@ -783,6 +786,7 @@ for info on changes for earlier releases.
783786

784787
[`memo-parser`]: ./memo-parser/README.md
785788

789+
[#2075]: https://github.com/benmosher/eslint-plugin-import/pull/2075
786790
[#2071]: https://github.com/benmosher/eslint-plugin-import/pull/2071
787791
[#2034]: https://github.com/benmosher/eslint-plugin-import/pull/2034
788792
[#2026]: https://github.com/benmosher/eslint-plugin-import/pull/2026

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, a
2727
* Forbid a module from importing a module with a dependency path back to itself ([`no-cycle`])
2828
* Prevent unnecessary path segments in import and require statements ([`no-useless-path-segments`])
2929
* Forbid importing modules from parent directories ([`no-relative-parent-imports`])
30+
* Prevent importing packages through relative paths ([`no-relative-packages`])
3031

3132
[`no-unresolved`]: ./docs/rules/no-unresolved.md
3233
[`named`]: ./docs/rules/named.md
@@ -41,6 +42,7 @@ This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, a
4142
[`no-cycle`]: ./docs/rules/no-cycle.md
4243
[`no-useless-path-segments`]: ./docs/rules/no-useless-path-segments.md
4344
[`no-relative-parent-imports`]: ./docs/rules/no-relative-parent-imports.md
45+
[`no-relative-packages`]: ./docs/rules/no-relative-packages.md
4446

4547
### Helpful warnings
4648

0 commit comments

Comments
 (0)