From 4050030af526a2b0004a7ac4fbd16e596c2bb477 Mon Sep 17 00:00:00 2001 From: Nick Partridge Date: Fri, 29 May 2020 15:41:05 -0500 Subject: [PATCH] docs(order): fix bad inline config `alphabetize` option does not permit boolean --- docs/rules/order.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/order.md b/docs/rules/order.md index 667b63374f..3aa41bbf50 100644 --- a/docs/rules/order.md +++ b/docs/rules/order.md @@ -229,7 +229,7 @@ alphabetize: { This will fail the rule check: ```js -/* eslint import/order: ["error", {"alphabetize": true}] */ +/* eslint import/order: ["error", {"alphabetize": {"order": "asc", "caseInsensitive": true}}] */ import React, { PureComponent } from 'react'; import aTypes from 'prop-types'; import { compose, apply } from 'xcompose'; @@ -240,7 +240,7 @@ import blist from 'BList'; While this will pass: ```js -/* eslint import/order: ["error", {"alphabetize": true}] */ +/* eslint import/order: ["error", {"alphabetize": {"order": "asc", "caseInsensitive": true}}] */ import blist from 'BList'; import * as classnames from 'classnames'; import aTypes from 'prop-types';