Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
^41.0.1
^46.0.0
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^41.0.1
->^46.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn
### [`v46.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v46.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.2...v46.0.0) ##### Improvements - Add `elems` to abbreviations ([#2040](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2040)) [`2a9c840`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2a9c840) - `no-useless-spread`: Check `Array#{toReversed,toSorted,toSpliced,with}` ([#2030](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2030)) [`55469e5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/55469e5) - `prefer-set-has`: Support `Array#{toReversed,toSorted,toSpliced,with}` ([#2032](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2032)) [`fea5b42`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fea5b42) - `prefer-spread`: Forbid use of `Array#toSpliced()` to copy array ([#2034](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2034)) [`4ada50e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4ada50e) - `prefer-negative-index`: Check `.toSpliced()` and `.with()` ([#2031](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2031)) [`7ed738a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7ed738a) - `no-empty-file`: Support `.jsx` and `.tsx` extensions ([#2002](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2002)) [`ba1a00e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ba1a00e) ##### Fixes - `expiring-todo-comments`: Do not normalize package.json ([#1871](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1871)) ([#2020](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2020)) [`fcd8934`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fcd8934) ### [`v45.0.2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v45.0.2) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.1...v45.0.2) - `prefer-string-replace-all`: Don't crash on invalid pattern ([#2011](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2011)) [`3bbe027`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3bbe027) - `prevent-abbreviations`: Skip fix for variables used in Vue template ([#2012](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2012)) [`8cd1ded`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8cd1ded) ### [`v45.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v45.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.0...v45.0.1) - `no-useless-spread`: Remove unsafe fix ([#1996](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1996)) [`6756cbd`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6756cbd) ### [`v45.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v45.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.2...v45.0.0) ##### New rules - [`no-typeof-undefined`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-typeof-undefined.md) ([#1966](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1966)) [`d7f7341`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d7f7341) - [`no-negated-condition`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md) ([#1963](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1963)) [`e4aaa42`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e4aaa42) - [`prefer-set-size`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-set-size.md) ([#1952](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1952)) [`5f23c98`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5f23c98) ##### Improvements - `prefer-at`: Support private fields ([#1929](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1929)) [`60bb455`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/60bb455) - `no-useless-undefined`: Ignore `Array#includes()` and `Set#has()` ([#1951](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1951)) [`8dfd5a7`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8dfd5a7) - `no-useless-spread`: Check cloning inline arrays ([#1980](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1980)) [`5d90d73`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5d90d73) - `prefer-top-level-await`: Ignore expressions in class ([#1976](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1976)) [`b90a3aa`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b90a3aa) - `prefer-string-replace-all`: Improve RegExp to string fix ([#1971](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1971)) [`b844dbc`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b844dbc) - `prefer-string-replace-all`: Check pattern even if it's already using `.replaceAll` ([#1981](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1981)) [`e8c5156`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e8c5156) - `prefer-string-replace-all`: Report all `String#replace()` when the pattern has `g` flag ([#1965](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1965)) [`6316f05`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6316f05) - `prefer-string-replace-all`: Ignore regex with pipe ([#1962](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1962)) [`76deaa3`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/76deaa3) - `prefer-regexp-test`: Use suggestions if not sure regexp without `g` flag ([#1954](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1954)) [`505a203`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/505a203) - `no-array-for-each`: Skip fix for some edge cases ([#1979](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1979)) [`48efc7a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/48efc7a) - `prefer-add-event-listener`: Only fix `ExpressionStatement`, check `operator` ([#1955](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1955)) [`aca21f2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/aca21f2) - `prevent-abbreviations`: Improve fix for `retVal` ([#1953](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1953)) [`25cd810`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/25cd810) ##### Fixes - `prefer-top-level-await`: Fix crash on `for..of` loop ([#1950](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1950)) [`00a29c8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/00a29c8) ### [`v44.0.2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v44.0.2) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.1...v44.0.2) - `no-array-method-this-argument`: Ignore `lodash.findLast` and `lodash.findLastIndex` ([#1927](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1927)) [`86e8add`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/86e8add) ### [`v44.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v44.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.0...v44.0.1) - `prefer-array-index-of`: Add missing message ([#1924](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1924)) [`a981a13`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a981a13) ### [`v44.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v44.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.2...v44.0.0) ##### New rules - [`no-unnecessary-await`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-await.md) ([#1904](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1904)) [`412fc6f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/412fc6f) - [`switch-case-braces`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md) ([#1902](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1902)) [`690ed8c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/690ed8c) ##### Improvements - `prefer-array-find`: Add option to also prefer `.findLast()` ([#1900](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1900)) [`02252c7`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/02252c7) - `template-indent`: Preserve trailing spaces ([#1872](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1872)) [`e4071f5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e4071f5) - `no-document-cookie`: Check `window.document.cookie` ([#1833](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1833)) [`0886544`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0886544) - `prefer-array-index-of`: Prefer `.lastIndexOf()` over `.findLastIndex()` ([#1896](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1896)) [`70e5bdd`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/70e5bdd) - `prefer-array-some`: Check `.findLast()` ([#1897](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1897)) [`3e6ae43`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3e6ae43) - `prefer-native-coercion-functions`: Check `.findLast` and `.findLastIndex` ([#1893](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1893)) [`f2c6acc`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f2c6acc) - `no-array-method-this-argument`: Check `.findLast` and `.findLastIndex` ([#1890](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1890)) [`3bc28ad`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3bc28ad) - `no-array-callback-reference`: Check `.findLast` and `.findLastIndex` ([#1889](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1889)) [`37a5cda`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/37a5cda) - `prefer-negative-index`: Remove `ArrayBuffer#at` ([#1899](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1899)) [`a10e3f6`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a10e3f6) - `prefer-at`: Improve fix ([#1901](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1901)) [`1c457bb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1c457bb) ##### Fixes - `no-await-expression-member`: Fix crash on TypeScript parser ([#1910](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1910)) [`b002e75`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b002e75) - `prevent-abbreviations`: Skip fix when variable is JSX component ([#1907](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1907)) [`9ed08ab`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9ed08ab) - `better-regexp`: Don't fix if `.source` or `.toString()` is used ([#1903](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1903)) [`8ad592b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8ad592b) ### [`v43.0.2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v43.0.2) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.1...v43.0.2) - `prefer-spread`: Ignore `Array#join().concat()` and `(a + b).concat()` ([#1859](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1859)) [`ab71971`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ab71971) ### [`v43.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v43.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.0...v43.0.1) - Remove `prefer-event-target` from the recommended preset [`4d2faac`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4d2faac) - `EventTarget` requires Node.js 16 and we target Node.js 14. We'll enable it again in a year when we can target Node.js 16. ### [`v43.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v43.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v42.0.0...v43.0.0) ##### New rules - [`prefer-logical-operator-over-ternary`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md) ([#1830](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1830)) [`5d7e622`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5d7e622) - [`prefer-event-target`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md) ([#1792](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1792)) [`166524a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/166524a) ##### Breaking - Require Node.js 14 ##### Improvements - Add `prefer-top-level-await` rule to recommended preset ([#1803](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1803)) [`6f5ecf5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6f5ecf5) - Deprecate `import-index` rule ([#1787](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1787)) [`0034e69`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0034e69) - Update abbreviations to support Next.js functions ([#1804](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1804)) [`4b96057`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4b96057) - `text-encoding-identifier-case`: Ignore JSX `meta[charset="utf-8"]` ([#1817](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1817)) [`c67a70f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c67a70f) - `prefer-number-properties`: Check any use of global functions ([#1834](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1834)) [`51d7e06`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/51d7e06) - `prefer-number-properties`: Detect usage via global object ([#1832](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1832)) [`80c4af2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/80c4af2) - `no-array-for-each`: Check reassign in `for..in` and `for..of` ([#1824](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1824)) [`d3b2548`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d3b2548) - `no-useless-undefined`: Ignore `ref(undefined)` in Vue project ([#1828](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1828)) [`e7306e5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e7306e5) - `prefer-node-protocol`: Always check `require()` ([#1827](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1827)) [`2c914d4`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2c914d4) - `no-array-for-each`: Improve parameter reassign detection ([#1823](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1823)) [`56df468`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/56df468) - `no-array-for-each`: Add fix for arrow function body ([#1785](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1785)) [`59218e3`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/59218e3) ##### Fixes - `no-array-for-each`: Fix auto-fix causing SyntaxError ([#1813](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1813)) [`47c8337`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/47c8337) ### [`v42.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v42.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.1...v42.0.0) ##### The project has passed 100 lint rules 🎉 Thanks to everyone that has contributed so far. And special thanks to our team member [@fisker](https://togithub.com/fisker) for doing most of the work on this project. We could not have gotten this far without him. ##### New rules - [`no-useless-switch-case`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-switch-case.md) ([#1779](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1779)) [`a8fb966`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a8fb966) - [`prefer-modern-math-apis`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-modern-math-apis.md) ([#1780](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1780)) [`6dfdeb0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6dfdeb0) - [`no-unreadable-iife`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-iife.md) ([#1765](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1765)) [`ce8a4b7`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ce8a4b7) - [`prefer-native-coercion-functions`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-native-coercion-functions.md) ([#1767](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1767)) [`51166f4`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/51166f4) ##### Improvements - `template-indent`: Set the rule `error` instead of `warn` in `recommended` preset ([#1781](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1781)) [`09923af`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/09923af) - `prefer-json-parse-buffer`: Remove from `recommended` preset ([#1750](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1750)) [`93f49f2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/93f49f2) - `no-array-for-each`: Add fixer for parenthesized call ([#1784](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1784)) [`5f39c37`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5f39c37) - `no-array-for-each`: Handle optional chaining ([#1753](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1753)) [`1d32db4`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1d32db4) - `prefer-object-from-entries`: Stop checking unknown cases ([#1771](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1771)) [`309771d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/309771d) - `prefer-string-trim-start-end`: Check optional chaining ([#1768](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1768)) [`1920597`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1920597) - `no-useless-undefined`: Ignore arguments in `Function#bind()` ([#1762](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1762)) [`c501243`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c501243) - `prefer-ternary`: Skip fix if there are comments ([#1763](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1763)) [`3013565`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3013565) - `text-encoding-identifier-case`: Auto-fix encoding in `fs.{readFile,readFileSync}()` ([#1755](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1755)) [`5e1c932`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5e1c932) - Add `dist` and `dst` abbreviations ([#1756](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1756)) [`dffcea8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/dffcea8) ##### Fixes - `no-array-for-each`: Handle `ChainExpression` correctly ([#1772](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1772)) [`e615a37`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e615a37)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.