website/src/pages/lint/rules/noSelfAssign.md
Disallow assignments where both sides are exactly the same.
Self assignments have no effect, so probably those are an error due to incomplete refactoring.
Source: https://eslint.org/docs/latest/rules/no-self-assign
a = a;
[a] = [a];
({a: b} = {a: b});
a.b = a.b;
a[b] = a[b];
a[b].foo = a[b].foo;
a['b'].foo = a['b'].foo;
a &= a;
var a = a;
let a = a;
const a = a;
[a, b] = [b, a];