diff --git a/docs/rules/newline-after-import.md b/docs/rules/newline-after-import.md index ed0a5b678f..6aa75be552 100644 --- a/docs/rules/newline-after-import.md +++ b/docs/rules/newline-after-import.md @@ -5,11 +5,10 @@ Enforces having one or more empty lines after the last top-level import statement or require call. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule. ## Rule Details -This rule supports the following options: +This rule supports the following options: - `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`. - `considerComments` which enforces the rule on comments after the last import-statement as well when set to true. This option defaults to `false`. diff --git a/docs/rules/no-duplicates.md b/docs/rules/no-duplicates.md index dd741c21a5..50f779b456 100644 --- a/docs/rules/no-duplicates.md +++ b/docs/rules/no-duplicates.md @@ -7,7 +7,6 @@ Reports if a resolved path is imported more than once. -+(fixable) The `--fix` option on the [command line] automatically fixes some problems reported by this rule. ESLint core has a similar rule ([`no-duplicate-imports`](https://eslint.org/docs/rules/no-duplicate-imports)), but this version is different in two key ways: diff --git a/docs/rules/no-namespace.md b/docs/rules/no-namespace.md index 5545bce229..623dae049c 100644 --- a/docs/rules/no-namespace.md +++ b/docs/rules/no-namespace.md @@ -6,8 +6,7 @@ Enforce a convention of not using namespace (a.k.a. "wildcard" `*`) imports. -+(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`. -The `--fix` functionality for this rule requires ESLint 5 or newer. +The rule is auto-fixable when the namespace object is only used for direct member access, e.g. `namespace.a`. ### Options diff --git a/docs/rules/no-relative-packages.md b/docs/rules/no-relative-packages.md index 4919de94e5..df21c25dd0 100644 --- a/docs/rules/no-relative-packages.md +++ b/docs/rules/no-relative-packages.md @@ -9,8 +9,6 @@ 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. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule. - ### Examples Given the following folder structure: diff --git a/docs/rules/order.md b/docs/rules/order.md index e3deacaf24..6dc4520e8d 100644 --- a/docs/rules/order.md +++ b/docs/rules/order.md @@ -5,7 +5,6 @@ Enforce a convention in the order of `require()` / `import` statements. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule. 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: