Skip to content

Commit

Permalink
fix(es2015): drop deprecated rule
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Jan 27, 2017
1 parent bff21c7 commit 7ccaef6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/es2015.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ module.exports = {
}],

// require let or const instead of var
// http://eslint.org/docs/rules/no-var
'no-var': 'error',

// require or disallow method and property shorthand syntax for object literals
Expand Down Expand Up @@ -129,10 +130,6 @@ module.exports = {
// http://eslint.org/docs/rules/prefer-numeric-literals
'prefer-numeric-literals': 'error',

// suggest using Reflect methods where applicable
// http://eslint.org/docs/rules/prefer-reflect
'prefer-reflect': 'on',

// require rest parameters instead of arguments
// http://eslint.org/docs/rules/prefer-rest-params
'prefer-rest-params': 'error',
Expand Down

0 comments on commit 7ccaef6

Please sign in to comment.