operator-assignment Require compound assignment where equivalent place = place + value reads and writes the same stable place and is equivalent to place += value. Instead, you SHOULD use the corresponding compound assignment. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function advance(value: int32): int32 { let result = value; result = result + 1; return result; } Accepted function advance(value: int32): int32 { let result = value; result += 1; return result; } Prior art - ESLint ยท operator-assignment language/linter/src/rules/style/operatorassignment.rs:8