jhusain / eslint-plugin-immutable

ESLint plugin to disable all mutation in JavaScript.
Apache License 2.0
912 stars 18 forks source link

Doesn't truly prevent all forms of mutations #11

Open jayphelps opened 8 years ago

jayphelps commented 8 years ago

I think in its current form it might be a good idea to clarify at the top that this doesn't prevent all ways you can mutate? Alternatively.. all the additional mutations forms could be added (of course)

e.g. #9 with this.prop = but even more sneaky is stdlib functions that mutate, most commonly array mutations like arr.push(1).