Skip to content

Commit 0501367

Browse files
bmishljharb
authored andcommitted
[Docs] remove duplicate fixable notices in docs
1 parent 7f7a9a6 commit 0501367

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
66

77
## [Unreleased]
88

9+
### Changed
10+
- [Docs] remove duplicate fixable notices in docs ([#2850], thanks [@bmish])
11+
912
## [2.28.0] - 2023-07-27
1013

1114
### Fixed
@@ -1079,6 +1082,7 @@ for info on changes for earlier releases.
10791082

10801083
[`memo-parser`]: ./memo-parser/README.md
10811084

1085+
[#2850]: https://github.com/import-js/eslint-plugin-import/pull/2850
10821086
[#2842]: https://github.com/import-js/eslint-plugin-import/pull/2842
10831087
[#2835]: https://github.com/import-js/eslint-plugin-import/pull/2835
10841088
[#2832]: https://github.com/import-js/eslint-plugin-import/pull/2832

docs/rules/newline-after-import.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
<!-- end auto-generated rule header -->
66

77
Enforces having one or more empty lines after the last top-level import statement or require call.
8-
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.
98

109
## Rule Details
1110

12-
This rule supports the following options:
11+
This rule supports the following options:
1312
- `count` which sets the number of newlines that are enforced after the last top-level import statement or require call. This option defaults to `1`.
1413

1514
- `considerComments` which enforces the rule on comments after the last import-statement as well when set to true. This option defaults to `false`.

docs/rules/no-duplicates.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<!-- end auto-generated rule header -->
88

99
Reports if a resolved path is imported more than once.
10-
+(fixable) The `--fix` option on the [command line] automatically fixes some problems reported by this rule.
1110

1211
ESLint core has a similar rule ([`no-duplicate-imports`](https://eslint.org/docs/rules/no-duplicate-imports)), but this version
1312
is different in two key ways:

docs/rules/no-namespace.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
Enforce a convention of not using namespace (a.k.a. "wildcard" `*`) imports.
88

9-
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule, provided that the namespace object is only used for direct member access, e.g. `namespace.a`.
10-
The `--fix` functionality for this rule requires ESLint 5 or newer.
9+
The rule is auto-fixable when the namespace object is only used for direct member access, e.g. `namespace.a`.
1110

1211
### Options
1312

docs/rules/no-relative-packages.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Use this rule to prevent importing packages through relative paths.
99
It's useful in Yarn/Lerna workspaces, were it's possible to import a sibling
1010
package using `../package` relative path, while direct `package` is the correct one.
1111

12-
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.
13-
1412
### Examples
1513

1614
Given the following folder structure:

docs/rules/order.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<!-- end auto-generated rule header -->
66

77
Enforce a convention in the order of `require()` / `import` statements.
8-
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.
98

109
With the [`groups`](#groups-array) option set to `["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"]` the order is as shown in the following example:
1110

0 commit comments

Comments
 (0)