Skip to content

Commit

Permalink
Remove "deprecated" from the "magic-to-const" rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mushketyk committed Apr 6, 2018
1 parent 95201da commit 1b790e7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/rules/magic-to-const.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1b790e7

Please sign in to comment.