Closed renovate[bot] closed 1 year ago
Latest commit: 73a7c9e6bd325c885732de69a9744bddc532e18a
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
47.0.0
->48.0.1
Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
### [`v48.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v48.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.0...v48.0.1) - `no-empty-file`: Fix directive check for TypeScript parser ([#2180](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2180)) [`1bb9ce8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1bb9ce8) ### [`v48.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v48.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0) ##### Improvements - Deprecate `no-unsafe-regex` rule ([#2135](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2135)) [`7b473aa`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7b473aa) - `prefer-top-level-await`: Ignore promises inside `Promise.{all,allSettled,any,race}()` ([#2139](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2139)) [`d3f6b60`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d3f6b60) - `no-process-exit`: Ignore when using `node:worker_threads` module ([#2136](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2136)) [`2907805`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2907805) - `prefer-array-some`: Ignore filter calls with literal argument ([#2097](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2097)) [`7a32edb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7a32edb) - `prefer-modern-math-api`: Check cases that `Math.hypot()` should be preferred ([#2080](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2080)) [`9bbc948`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9bbc948) - `explicit-length-check`: Ignore `.length || number` ([#1977](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1977)) [`b9b8794`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b9b8794) ##### Fixes - Fix crash on array holes ([#2129](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2129)) [`f10f1a6`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f10f1a6) - `prefer-dom-node-dataset`: Fix edge cases ([#2171](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2171)) [`b2d7378`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b2d7378) - `prefer-dom-node-dataset`: Remove broken fix for `element.setAttribute` ([#2169](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2169)) [`61234af`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/61234af) - `no-lonely-if`: Fix an edge case ([#2168](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2168)) [`ca837a8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ca837a8) - `no-useless-undefined`: Turn parameter with `undefined` default value into optional parameter ([#2138](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2138)) [`4aa7d60`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4aa7d60) - `no-thenable`: Fix `Object.fromEntries()` check ([#2130](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2130)) [`f3265b9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f3265b9) - `prefer-dom-node-remove`: Fix incorrect auto-fix ([#2084](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2084)) [`74bb36d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/74bb36d)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.