From 98e742c27aeedf861e907dd63492d024bc64a6e8 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Fri, 17 Feb 2017 14:05:54 -0500 Subject: [PATCH] Disabled no-magic-numbers rule in ESLint (#274) --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 7f0e42bf7..229f05c6c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -117,7 +117,7 @@ "no-lone-blocks": 2, "no-lonely-if": 2, "no-loop-func": 2, - "no-magic-numbers": [1, { "ignore": [-1, 0, 1, 2], "enforceConst": true, "detectObjects": true } ], + "no-magic-numbers": 0, "no-mixed-operators": [2, {"allowSamePrecedence": false}], "no-mixed-spaces-and-tabs": 2, "no-multi-spaces": [2, { "exceptions": { "Property": false } }],