2 * @fileoverview Rule to check use of chained assignment expressions
9 //------------------------------------------------------------------------------
11 //------------------------------------------------------------------------------
18 description: "disallow use of chained assignment expressions",
19 category: "Stylistic Issues",
21 url: "https://eslint.org/docs/rules/no-multi-assign"
29 //--------------------------------------------------------------------------
31 //--------------------------------------------------------------------------
34 AssignmentExpression(node) {
35 if (["AssignmentExpression", "VariableDeclarator"].indexOf(node.parent.type) !== -1) {
38 message: "Unexpected chained assignment."