jonathandion / mono

✨ Common modules for building web apps
https://jdion.xyz/
MIT License
19 stars 2 forks source link

Update lint packages (major) #34

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-jest-dom ^4.0.3 -> ^5.0.0 age adoption passing confidence
eslint-plugin-unicorn ^46.0.1 -> ^48.0.0 age adoption passing confidence
eslint-plugin-unused-imports ^2.0.0 -> ^3.0.0 age adoption passing confidence

Release Notes

testing-library/eslint-plugin-jest-dom (eslint-plugin-jest-dom) ### [`v5.1.0`](https://togithub.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.1.0) [Compare Source](https://togithub.com/testing-library/eslint-plugin-jest-dom/compare/v5.0.2...v5.1.0) ##### Features - make `@testing-library/dom` dependency optional ([#​319](https://togithub.com/testing-library/eslint-plugin-jest-dom/issues/319)) ([88e8bb0](https://togithub.com/testing-library/eslint-plugin-jest-dom/commit/88e8bb0b64b0c61678cbd7de34b24c5e21766e26)) ### [`v5.0.2`](https://togithub.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.0.2) [Compare Source](https://togithub.com/testing-library/eslint-plugin-jest-dom/compare/v5.0.1...v5.0.2) ##### Bug Fixes - **prefer-in-document:** false positive on .toHaveLength(1) matcher with *AllBy* query ([#​311](https://togithub.com/testing-library/eslint-plugin-jest-dom/issues/311)) ([a7ee93c](https://togithub.com/testing-library/eslint-plugin-jest-dom/commit/a7ee93c71c97310dc078470aa3bbd4fb60e9d514)) ### [`v5.0.1`](https://togithub.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.0.1) [Compare Source](https://togithub.com/testing-library/eslint-plugin-jest-dom/compare/v5.0.0...v5.0.1) ##### Bug Fixes - **getQueryNodeFrom:** move `Identifier` type checks to `getInnerNodeFrom` ([#​255](https://togithub.com/testing-library/eslint-plugin-jest-dom/issues/255)) ([96c364a](https://togithub.com/testing-library/eslint-plugin-jest-dom/commit/96c364abfcbd440a673edac407db55f9db0afa31)) - **prefer-to-have-style:** do not offer invalid autofix for computed accessors ([#​306](https://togithub.com/testing-library/eslint-plugin-jest-dom/issues/306)) ([b38b8ea](https://togithub.com/testing-library/eslint-plugin-jest-dom/commit/b38b8ea22d331d2ae42bde12c13c4f1ea74c7545)) ### [`v5.0.0`](https://togithub.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.0.0) [Compare Source](https://togithub.com/testing-library/eslint-plugin-jest-dom/compare/v4.0.3...v5.0.0) ##### Features - make `@testing-library/dom` a peer dependency ([#​304](https://togithub.com/testing-library/eslint-plugin-jest-dom/issues/304)) ([7b34cbf](https://togithub.com/testing-library/eslint-plugin-jest-dom/commit/7b34cbf00643f20a228ea0bcb15958405487ae17)) ##### BREAKING CHANGES - Requires [@​testing-library/dom](https://togithub.com/testing-library/dom)@​^8.0.0 || ^9.0.0
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) ### [`v47.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v47.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.1...v47.0.0) ##### Breaking - Require Node.js 16 ([#​2073](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2073)) [`a3bc120`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a3bc120) - Require `eslint@>=8.38.0` ([#​2066](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2066)) [`04af765`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/04af765) - Enable `prefer-at`, `prefer-event-target`, and `prefer-string-replace-all` in recommended config ([#​2073](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2073)) [`a3bc120`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a3bc120) ##### New rules - [`prefer-blob-reading-methods`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-blob-reading-methods.md) ([#​2065](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2065)) [`2bb1a04`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2bb1a04) ##### Improvements - `prefer-top-level-await`: Ignore `.cjs` files ([#​2072](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2072)) [`0c3ccb1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0c3ccb1) - `prefer-spread`: Stop checking `Array.from` call with map function ([#​2064](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2064)) [`f5beccb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f5beccb) - `prefer-dom-node-text-content`: Check optional chaining ([#​2062](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2062)) [`8d6d007`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8d6d007) - `prefer-dom-node-{append,remove}`: Check optional chaining ([#​2061](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2061)) [`443999b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/443999b) ##### Fixes - `prefer-number-properties`: Fix false positives ([#​2050](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2050)) [`124bfa7`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/124bfa7)
sweepline/eslint-plugin-unused-imports (eslint-plugin-unused-imports) ### [`v3.0.0`](https://togithub.com/sweepline/eslint-plugin-unused-imports/compare/00609593872c4e088bf1a879ba066e5f69d90ec7...5cef9616c54ec2b9fc0795ed6fa27f4529d7e386) [Compare Source](https://togithub.com/sweepline/eslint-plugin-unused-imports/compare/00609593872c4e088bf1a879ba066e5f69d90ec7...5cef9616c54ec2b9fc0795ed6fa27f4529d7e386)

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: a50b99479c9f019adf7e7cb33f6c5f0faf96f46e

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.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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