Skip to content

Commit

Permalink
fix: Warn on deconstructing
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Dec 17, 2017
1 parent 9067359 commit 5c281f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/es2015.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ module.exports = {

// require destructuring from arrays and/or objects
// http://eslint.org/docs/rules/prefer-destructuring
'prefer-destructuring': ['error', {
'prefer-destructuring': ['warn', {
array: true,
object: true,
}, {
Expand Down

0 comments on commit 5c281f1

Please sign in to comment.