eslint-plugin-better-mutation
eslint-plugin-better-mutation copied to clipboard
Eslint rules to enforce function-scope mutation only
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. Changelog Sourced from browserify-sign's changelog. v4.2.2 - 2023-10-25 Fixed [Tests] log when openssl doesn't support cipher [#37](https://github.com/crypto-browserify/browserify-sign/issues/37) Commits Only apps should have lockfiles 09a8995...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.8.0 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
This code should not throw an error I think, as the keys array is locally generated: ``` Object.keys(myObject).sort(mySortFn) ```
The introduction of the nullish operator has created a dependency that this package must be ran in the context of node 13 and above. Was this intended and/or will there...
On `master` this code fails. ``` let a, b; a = 2; // fine b = 2; // error ``` This fixes the issue. Added new test and all existing...
We have code like this, which I believe should be valid. ``` function fooValid1() { let a = 2; [1, 2].forEach((x) => { a = a + x; }); [1,...
I would like to avoid objects mutations, but I don't need to avoid "let" reassignments. We can easily add an option for this, right?
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 9.9.0. Release notes Sourced from eslint's releases. v9.9.0 Features 41d0206 feat: Add support for TS config files (#18134) (Arya Emami) 3a4eaf9 feat: add suggestion to...
Bumps [xo](https://github.com/xojs/xo) from 0.56.0 to 0.59.3. Release notes Sourced from xo's releases. v0.59.3 Allow using experimental Node.js features 3eb8436 Fix TypeScript extension support (#764) 46a91e0 https://github.com/xojs/xo/compare/v0.59.2...v0.59.3 v0.59.2 Respect nodeVersion: false...
Eslint v9 has breaking changes and a new config format. There's more discussion on another eslint plugin here: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/978 Alternatively, this workaround allowed me to use this plugin in a...