Commit 7fbbab6
committed
chore(lint): add no-param-reassign rule
Enable the no-param-reassign rule in oxlint to prevent function
parameter reassignment. This enforces immutability of function
parameters, improving code predictability and avoiding subtle bugs.1 parent 92f42dc commit 7fbbab6
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments