website/src/pages/lint/rules/noImportAssign.md
This rule is recommended by Rome.
Disallow assigning to imported bindings
import x from "y";
x = 1;
import y from "y";
[y] = 1;
import z from "y";
({ z } = 1); /// ```
```js,expect_diagnostic
import a from "y";
[...a] = 1;
import b from "y";
({ ...b } = 1);
import c from "y";
for (c in y) {};
import d from "y";
d += 1;
import * as e from "y";
e = 1;