From 1b790e7b942c9834956e580a04bf798805145c07 Mon Sep 17 00:00:00 2001 From: Ivan Mushketyk Date: Fri, 6 Apr 2018 09:11:28 +0100 Subject: [PATCH] Remove "deprecated" from the "magic-to-const" rule --- lib/rules/magic-to-const.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/rules/magic-to-const.js b/lib/rules/magic-to-const.js index 2498c32..29c92be 100644 --- a/lib/rules/magic-to-const.js +++ b/lib/rules/magic-to-const.js @@ -12,13 +12,10 @@ module.exports = { docs: { recommended: true, type: "warning", - description: "Ensure that magic numbers are extracted to constants", - replacedBy: ["quotes"] + description: "Ensure that magic numbers are extracted to constants" }, - schema: [], - deprecated: true - + schema: [] }, create: function(context) {