Skip to content

Commit 5c281f1

Browse files
committed
fix: Warn on deconstructing
1 parent 9067359 commit 5c281f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/es2015.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = {
113113

114114
// require destructuring from arrays and/or objects
115115
// http://eslint.org/docs/rules/prefer-destructuring
116-
'prefer-destructuring': ['error', {
116+
'prefer-destructuring': ['warn', {
117117
array: true,
118118
object: true,
119119
}, {

0 commit comments

Comments
 (0)