From e9a2ed9422a5bd1d4b85ebf8035ba6562d3c94aa Mon Sep 17 00:00:00 2001 From: GramParallelo Date: Tue, 5 Jul 2016 13:24:15 -0400 Subject: [PATCH] Docs: Fix rules\id-length exceptions typos (fixes #6397) (#6593) Changed 2 typos: exceptions accepts array, was max property instead of exception property. --- docs/rules/id-length.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/id-length.md b/docs/rules/id-length.md index 8c79cbb5c8d..77a1195cab2 100644 --- a/docs/rules/id-length.md +++ b/docs/rules/id-length.md @@ -240,10 +240,10 @@ var myObj = { a: 1 }; ### exceptions -Examples of additional **correct** code for this rule with the `{ "exceptions": "x" }` option: +Examples of additional **correct** code for this rule with the `{ "exceptions": ["x"] }` option: ```js -/*eslint id-length: ["error", { "max": "10" }]*/ +/*eslint id-length: ["error", { "exceptions": ["x"] }]*/ /*eslint-env es6*/ var x = 5;