diff --git a/.eslintrc.json b/.eslintrc.json index 1c4648f..f320a61 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -30,8 +30,14 @@ "prefer-destructuring": [ "error", { - "array": false, - "object": true + "VariableDeclarator": { + "array": false, + "object": true + }, + "AssignmentExpression": { + "array": false, + "object": false + } } ], "no-constant-condition": ["error", { "checkLoops": false }],