From 2e057065b74e8cb9ec63f1ab40cffbd0ad1fbd9c Mon Sep 17 00:00:00 2001 From: mikemitchell574 <55799715+mikemitchell574@users.noreply.github.com> Date: Sat, 24 Oct 2020 11:00:39 -0400 Subject: [PATCH] Replace rules.indent array with number ESLint 7.12.0 indent rule configuration now only accepts a number value. The array provided returns a runtime error. --- 1-js/03-code-quality/02-coding-style/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/03-code-quality/02-coding-style/article.md b/1-js/03-code-quality/02-coding-style/article.md index 4cdb2380..d9a0b3be 100644 --- a/1-js/03-code-quality/02-coding-style/article.md +++ b/1-js/03-code-quality/02-coding-style/article.md @@ -328,7 +328,7 @@ Here's an example of an `.eslintrc` file: }, "rules": { "no-console": 0, - "indent": ["warning", 2] + "indent": 2 } } ```