From edd6e7554fbd554995e91cd8eb691a0fd2a2cf47 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 18 Feb 2021 18:47:31 -0500 Subject: [PATCH] Document options required to match ordering example --- docs/rules/order.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/rules/order.md b/docs/rules/order.md index 7d91efd6f5..9e34cbeae9 100644 --- a/docs/rules/order.md +++ b/docs/rules/order.md @@ -2,7 +2,8 @@ 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. -The order is as shown in the following example: + +With the [`groups`](#groups-array) option set to `["builtin", "external", "internal", "parent", "sibling", "index", "object"]` the order is as shown in the following example: ```js // 1. node "builtin" modules