guidojw / arora-discord

Extensive Discord utility bot that can optionally be connected with arora-api. Used in the 6000 member Twin-Rail and 2300 member NS Roblox servers.
MIT License
6 stars 1 forks source link

chore(deps): update dependency eslint-plugin-unicorn to v54 - autoclosed #624

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-unicorn ^48.0.1 -> ^54.0.0 age adoption passing confidence

Release Notes

sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn) ### [`v54.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v54.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v53.0.0...v54.0.0) ##### New rules - [`no-negation-in-equality-check`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negation-in-equality-check.md) ([#​2353](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2353)) [`8957a03`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8957a03) ##### Breaking - `prefer-array-find`: Change [`checkFromLast`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-find.md#checkfromlast) default value to `true` ([#​2367](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2367)) [`a449af9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a449af9) ##### Improvements - Add name to flat configs ([#​2377](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2377)) [`ac8536e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ac8536e) - `prefer-array-some`: Check `Array#{findIndex,findLastIndex}()` ([#​2370](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2370)) [`10568ab`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/10568ab) - `prefer-includes`: Check `.lastIndexOf()` ([#​2368](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2368)) [`d812ad1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d812ad1) - `prefer-string-raw`: Ignore strings in Enums ([#​2354](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2354)) [`175ea04`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/175ea04) ##### Fixes - Fix edge cases when add `new` to calls ([#​2352](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2352)) [`d8f8161`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d8f8161) ### [`v53.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v53.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v52.0.0...v53.0.0) ##### New rules - [`consistent-empty-array-spread`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-empty-array-spread.md) ([#​2349](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2349)) [`8d7954c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8d7954c) - [`prefer-string-raw`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-string-raw.md) ([#​2339](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2339)) [`4f1400a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4f1400a) - [`no-invalid-fetch-options`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-fetch-options.md) ([#​2338](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2338)) [`342aafb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/342aafb) - [`no-magic-array-flat-depth`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-magic-array-flat-depth.md) ([#​2335](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2335)) [`bc17428`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/bc17428) - [`prefer-structured-clone`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-structured-clone.md) ([#​2329](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2329)) [`497519e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/497519e) ##### Breaking - Require Node.js 18.18 ([#​2250](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2250)) [`598f57b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/598f57b) ##### Meta - You can now [sponsor @​fisker](https://togithub.com/sponsors/fisker) for his work on this project ([#​2348](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2348)) [`b82542d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b82542d) ##### Improvements - Support ESLint 9 ([#​2250](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2250)) [`598f57b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/598f57b) - `no-array-method-this-argument`: Check `Array.fromAsync()` ([#​2330](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2330)) [`99489b9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/99489b9) - `prefer-number-properties`: Add `checkNaN` option ([#​2315](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2315)) [`d30de50`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d30de50) - `template-indent`: Support member expression paths in `tags` and `functions` ([#​2346](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2346)) [`aabcf1d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/aabcf1d) - `prefer-number-properties`: Don't require by default for `Infinity`/`-Infinity` to be written as `Number.POSITIVE_INFINITY`/`Number.NEGATIVE_INFINITY` ([#​2312](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2312)) [`e0dfed2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e0dfed2) - `escape-case`: Ignore `String.raw` ([#​2342](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2342)) [`45bd444`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/45bd444) - `no-hex-escape`: Ignore `String.raw` ([#​2343](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2343)) [`cc02a7f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/cc02a7f) - `prefer-dom-node-dataset`: Ignore `await`ed `getAttribute` call ([#​2334](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2334)) [`45f23d5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/45f23d5) - `prevent-abbreviations`: Support non-ASCII filenames ([#​2308](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2308)) [`28762c8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/28762c8) - `throw-new-error`: Check all call expressions instead of just argument of `ThrowStatement` ([#​2332](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2332)) [`1626852`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1626852) ### [`v52.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v52.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v52.0.0) ##### New rules - [`no-single-promise-in-promise-methods`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-single-promise-in-promise-methods.md) ([#​2258](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2258)) [`8f0ee89`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8f0ee89) - [`no-await-in-promise-methods`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-in-promise-methods.md) ([#​2259](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2259)) [`a3be554`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a3be554) - [`no-anonymous-default-export`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-anonymous-default-export.md) ([#​2273](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2273)) [`c035216`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c035216) ##### Improvements - `filename-case`: Add option for multiple file extensions ([#​2186](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2186)) [`4594020`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4594020) - `import-style`: Support `node:` protocol ([#​2297](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2297)) [`c28a086`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c28a086) - `prefer-array-find`: Check `array.filter().at(0)` ([#​2284](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2284)) [`e6074fe`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e6074fe) - `prefer-prototype-methods`: Check `Object.prototype` methods from `globalThis` ([#​2286](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2286)) [`1792d33`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1792d33) - `no-array-callback-reference`: Check logical expressions and check ternaries deeply ([#​2289](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2289)) [`231529a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/231529a) ##### Fixes - `prefer-spread`: Fix it to not report on optional chaining ([#​2304](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2304)) [`df1ff1c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/df1ff1c) - `no-anonymous-default-export`: Uppercase class name ([#​2282](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2282)) [`5ce4169`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5ce4169) ### [`v51.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v51.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.0...v51.0.1) - `prefer-node-protocol`: Fix false positive on `bun:*` modules ([#​2272](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2272)) [`43fc638`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/43fc638) ### [`v51.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v51.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.1...v51.0.0) ##### Breaking - `consistent-destructuring`: Remove from `recommended` preset ([#​2260](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2260)) [`702d51b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/702d51b) ##### Improvements - `no-array-method-this-argument`: Check `Array.from()` ([#​2262](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2262)) [`797caee`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/797caee) ##### Fixes - `no-thenable`: Fix crash on `{[Symbol.prototype]: 0}` ([#​2248](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2248)) [`3c7d7c0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3c7d7c0) - `prefer-prototype-methods`: Fix argument of `isMethodCall` ([#​2247](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2247)) [`3b504fa`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3b504fa) ### [`v50.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v50.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.0...v50.0.1) ##### Fixes - `no-unnecessary-polyfills`: Fix missing dependency error ([#​2242](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2242)) [`3df1606`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3df16068) ### [`v50.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v50.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v49.0.0...v50.0.0) ##### New rules - [`no-unnecessary-polyfills`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-polyfills.md) ([#​1717](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1717)) [`6788d86`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6788d86) ##### Improvements - Support ESLint's new config system ([#​1886](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1886)) [`65711f9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/65711f9) - `no-useless-undefined`: Add `checkArrowFunctionBody` option ([#​2232](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2232)) [`9d7048c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9d7048c) - `prefer-negative-index`: Check `TypedArray#subarray()` ([#​2237](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2237)) [`6708a30`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6708a30) - `no-useless-undefined`: Ignore React state setters ([#​2223](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2223)) [`42881ba`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/42881ba) - `prefer-module`: Allow `module` as TSTypeParameter name ([#​2213](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2213)) [`8f61f7c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8f61f7c) ##### Fixes - `string-content`: Fix JSX autofix for newlines, etc. ([#​2222](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2222)) [`b95e75e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b95e75e) ### [`v49.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v49.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.1...v49.0.0) ##### Improvements - `expiring-todo-comments`: Support monorepos ([#​2159](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2159)) [`ac51d40`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ac51d40) - `prefer-module`: Allow `module` as TSIndexSignature names or TSTypeAliasDeclaration ids ([#​2209](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2209)) [`ea94b3b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ea94b3b) - Support RegExp `v` flag ([#​2195](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2195)) [`28e7498`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/28e7498) - `prefer-event-target`: Ignore `EventEmitter` from `@angular/core` and `eventemitter3` ([#​2197](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2197)) [`1629ebe`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1629ebe)

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 was generated by Mend Renovate. View the repository job log.