Skip to content

Commit d7f3d57

Browse files
committed
[Docs] remove duplicate fixable notices in docs
1 parent 7f7a9a6 commit d7f3d57

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

docs/rules/newline-after-import.md

+1-2
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

-1
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

+1-2
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

-2
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

-1
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)