Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 26, 2025

This PR contains the following updates:

Package Change Age Confidence
@eslint/compat (source) 1.4.1 -> 2.0.0 age confidence
eslint-plugin-jsdoc 54.7.0 -> 61.5.0 age confidence
eslint-plugin-unicorn 60.0.0 -> 62.0.0 age confidence

Release Notes

eslint/rewrite (@​eslint/compat)

v2.0.0

Compare Source

⚠ BREAKING CHANGES
  • Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#​297)
Features
Dependencies
  • The following workspace dependencies were updated
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)

v61.5.0

Compare Source

Features
  • check-tag-names, require-template, check-template-names: make typeParam a non-preferred alias for template (3cd7cbd)

v61.4.2

Compare Source

Bug Fixes
  • require-rejects: reflect proper tag name in error message (44b2631)

v61.4.1

Compare Source

Bug Fixes
  • require-rejects: do not treat synchronous throw as rejection; fixes #​1603 (f776d63)

v61.4.0

Compare Source

Features

v61.3.0

Compare Source

Features

v61.2.1

Compare Source

Bug Fixes
  • require-param: ensure all structures with interfaces do not trigger with interfaceExemptsParamsCheck: true (39a5b0a)
  • tag-lines: avoid reformatting post-delimiter spacing; fixes #​1593 (702b226)

v61.2.0

Compare Source

Features
  • sort-tags: add tagExceptions to allow additional lines per tag; fixes #​1594 (85a1ea1)

v61.1.12

Compare Source

Bug Fixes
  • no-undefined-types: treat param names as defined; fixes #​1591 (b47779c)

v61.1.11

Compare Source

Bug Fixes
  • fixing of missing parent should go between child and grandparent (4f2ec35)

v61.1.10

Compare Source

Bug Fixes
  • imports-as-dependencies: check for object-based types (or typings) (c9a22b6)

v61.1.9

Compare Source

Bug Fixes
  • CJS: provide CJS version of to-valid-identiifer; fixes #​1583 (ca57a1f)

v61.1.8

Compare Source

Bug Fixes
  • no-undefined-types: consider module scope variables as defined; fixes #​1581 (f938fdc)

v61.1.7

Compare Source

Bug Fixes
  • imports-as-dependencies: handle resolve.exports errors (0c4e5b6)

v61.1.6

Compare Source

Bug Fixes
  • imports-as-dependencies: check within exports for types; fixes #​1114 (c0e4e7c)

v61.1.5

Compare Source

Bug Fixes

v61.1.4

Compare Source

Bug Fixes

v61.1.3

Compare Source

Bug Fixes
  • prefer-import-tag: ensure import is a valid identifier; fixes #​1572 (4349209)

v61.1.2

Compare Source

Bug Fixes

v61.1.1

Compare Source

Bug Fixes
  • valid-types: reallow const type (75c8127)

v61.1.0

Compare Source

Features
  • ts-method-signature-style: add new rule (92bf39e)
  • ts-no-empty-object-type: new rule to prevent empty objects (a19af97)
  • ts-no-unnecessary-template-expression: create new rule to catch extra markup within template types (64082aa)
  • ts-prefer-function-type: add new rule (cbda8aa)

v61.0.1

Compare Source

Bug Fixes
  • require-yields-*, require-throws-*: ensure alias of throws (exception) and of yields (yield) are checked; fixes #​1559 (#​1560) (38770c4)

v61.0.0

Compare Source

Features
  • type-formatting: keyValuePostColonSpacing, keyValuePostKeySpacing, keyValuePostOptionalSpacing, keyValuePostVariadicSpacing for key-value pairs (and object fields) (ecf3a4a)
  • type-formatting: add genericAndTupleElementSpacing option for tuples and generics (2735b6d)
  • type-formatting: add parameterDefaultValueSpacing for type parameter spacing (b8eeca8)
  • type-formatting: add spacing for functions/classes and method quotes (a361dc9)
  • type-formatting: change stringQuotes default to double; fixes #​1556 (0837647)
BREAKING CHANGES
  • type-formatting: Set stringQuotes option to single to restore old behavior

v60.8.3

Compare Source

Bug Fixes
  • valid-types: ensure safe for class context (this keyword) (87464a6)
  • valid-types: re-allow namepaths in name-definers like typedef in non-typescript mode; fixes #​1557 (680cf1d)

v60.8.2

Compare Source

Bug Fixes

v60.8.1

Compare Source

Bug Fixes
  • valid-types: parse distinctly for names vs. namepaths (#​1552) (6efd9e9)

v60.8.0

Compare Source

Features
  • add name-defining role for likes of typedef as distinct from likes of param (#​1551) (e67e474)

v60.7.1

Compare Source

Bug Fixes
  • prefer-import-tag: handle other cases of comments before structures early in the document; fixes #​1549 (622b17e)

v60.7.0

Compare Source

Bug Fixes
  • prefer-import-tag: handle inserting before early comment nodes; fixes #​1549 (9e92718)
Features
  • require-returns-check: add noNativeTypes option to assert async functions do not have native types as return types; fixes #​1345 (13fe027)

v60.6.0

Compare Source

Features

v60.5.0

Compare Source

Bug Fixes
  • no-undefined-types: avoid param and property tags from being treated as type-defining (f72ac1a)
Features
  • check-tag-names: add inlineTags option with default inline tag checking (f0515be)
  • require-template-description: add rule; fixes #​1540 (90af18a)

v60.4.1

Compare Source

Bug Fixes

v60.4.0

Compare Source

Bug Fixes
  • ensure permissive settings are converted for jsdoc-type-pratt-parser (065f11a)
Features

v60.3.1

Compare Source

Bug Fixes

v60.3.0

Compare Source

Features

v60.2.0

Compare Source

Features

v60.1.1

Compare Source

Bug Fixes
  • reject-any-type, reject-function-type: prevent object replacement as with check-types; fixes #​1538 (#​1539) (0c4c654)

v60.1.0

Compare Source

Features

v60.0.0

Compare Source

Bug Fixes
  • require-tags: change rule name to be consistent with other rules (#​1535) (70c1b2e)
BREAKING CHANGES
  • require-tags: Changes required-tags to require-tags.

v59.1.0

Compare Source

Features

v59.0.2

Compare Source

Bug Fixes

v59.0.1

Compare Source

Bug Fixes
  • require-yields-description, require-next-description: handle multiline descriptions; fixes #​1528 (2544b12)
  • typescript: deprecate check-examples (9a2763b)

v59.0.0

Compare Source

Bug Fixes
  • require-yields-check: remove exemptedBy option (7209fe0)
  • correct fixable false positives (2ff5f14), closes #​1266
Features
  • require-next-description, require-throws-decription, require-yields-description: add rules; fixes #​1526 (214a5f2)
BREAKING CHANGES
  • require-yields-check: Removes exemptedBy from require-yields-check. Should not be needed.

Also:

  • docs: create options dynamically from schemas

v58.1.1

Compare Source

Bug Fixes

v58.1.0

Compare Source

Features

v58.0.0

Compare Source

Bug Fixes
  • typescript: descriptions need tag Markdown escaping (52c0c16)
Features
  • add reject-any-type and reject-function-type rules and extraRuleDefinitions.preferTypes option (ae4e95d)
BREAKING CHANGES
  • The new rules are added to recommended configs

v57.2.1

Compare Source

Bug Fixes
  • typescript: ensure rules without a schema are represented as well (#​1518) (c21a3f3)

v57.2.0

Compare Source

Features
  • check-types: deprecate unifyParentAndChildTypeChecks option in favor of new unifyParentAndChildTypeChecks preferredTypes[preferredType] setting (#​1517) (224bbe6)

v57.1.1

Compare Source

Bug Fixes

v57.1.0

Compare Source

Features
  • type-formatting: new objectFieldSeparatorOptionalLinebreak option (#​1514) (6b20133)

v57.0.10

Compare Source

Bug Fixes
  • type-formatting: allow for $, _, and ZWNJ's without quoting (#​1513) (dd0950b)

v57.0.9

Compare Source

Bug Fixes
  • type-formatting: do not strip quotes for objectFieldQuote when not an ID; always allow unescaped digits (d53884a)

v57.0.8

Compare Source

Bug Fixes

v57.0.7

Compare Source

Bug Fixes

v57.0.6

Compare Source

Bug Fixes
  • examples configs: disable @typescript-eslint/no-unsed-vars (#​1507) (34e5910)

v57.0.5

Compare Source

Bug Fixes

v57.0.4

Compare Source

Bug Fixes

v57.0.3

Compare Source

Bug Fixes
  • valid-types: avoid reporting for next (handled by own rule) (#​1503) (76b8406)

v57.0.2

Compare Source

Bug Fixes
  • extraRuleDefinitions.forbid jsdoc function option: point default link to advanced page (#​1502) (91f1c30)

v57.0.1

Compare Source

Bug Fixes

v57.0.0

Compare Source

Features
  • extraRuleDefinitions.forbid option to jsdoc function (9f50083)
  • require-next-type, require-throws-type, require-yields-type: adds new rules and adds to recommended and required configs; fixes #​1461 (0645428)
BREAKING CHANGES
  • require-next-type, require-throws-type, require-yields-type: It is unlikely to affect users but when using the jsdoc constructor with a recommended config , this commit removes throws and yields
    from the structuredTags settings recently added to the config output to require types for these tags in favor of the herein added equivalent
    recommended rules. (next is still part of structuredTags output, however, because this setting ensures the non-standard next tag is treated
    as allowable without need for separate configuration.)

Also:

  • chore: remove unused linting directives

v56.1.2

Compare Source

Bug Fixes

v56.1.1

Compare Source

Bug Fixes

v56.1.0

Compare Source

Features
  • type-formatting: add property, this, throws, and yields tags (#​1496) (8886628)

v56.0.2

Compare Source

Bug Fixes
  • getJsdocComment, iterateJsdoc: fix CJS type declarations (#​1493) (5f00672)

v56.0.1

Compare Source

Bug Fixes

v56.0.0

Compare Source

Features
BREAKING CHANGES
  • Changes exports paths. Should work without changes required.

v55.4.0

Compare Source

Features
  • type-formatting: add objectFieldSeparatorTrailingPunctuation option; fixes #​1430 (5852fd9)
  • type-formatting: check type and typedef tags and add typeBracketSpacing option (77e1691)
  • type-formatting: enhance error detection and add unionSpacing option; fixes #​1143 (cc7f253)

v55.3.0

Compare Source

Features
  • add type-formatting rule (81cb787)

v55.2.0

Compare Source

Features
  • copy over config properties (93e6b1c)

v55.1.2

Compare Source

Bug Fixes
  • typescript: allow string and numeric rule entries in config function (#​1487) (2ccd629)

v55.1.1

Compare Source

Bug Fixes

v55.1.0

Compare Source

Features

v55.0.5

Compare Source

Bug Fixes
  • typescript: ensure configs available via config-building function (#​1484) (23c9791)

v55.0.4

Compare Source

Bug Fixes

v55.0.3

Compare Source

Bug Fixes
  • typescript: remove properties from return value of config function (#​1481) (e433f7d)

v55.0.2

Compare Source

Bug Fixes
  • ensure docs reflect proper usage of new jsdoc export function (#​1480) (005c3fd)

v55.0.1

Compare Source

Bug Fixes

v55.0.0

Compare Source

Features
BREAKING CHANGES
  • Although not technically breaking, this is being released as such to encourage use of the named import function.

import {jsdoc} from 'eslint-plugin-jsdoc'; // A named import now is encouraged
export default [
...jsdoc({config: 'flat/recommended'}); // Now invoke the function to build the config
];

sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)

v62.0.0

Compare Source

New rules
Improvements
Fixes
  • consistent-function-scoping: Fix inconsistent behavior (#​2748) a546444

v61.0.2

Compare Source

  • throw-new-error: Fix false positive for Effect library (#​2740) 0ddf5ea
  • no-useless-undefined: Ignore Set#delete(undefined) (#​2739) 99acd27
  • prefer-includes and prefer-array-index-of: Prevent crash on Vue files (#​2645) a1da518

v61.0.1

Compare Source

  • prefer-classlist-toggle: Omit Element#classList.contains() call when fixing (#​2732) 066f96b

v61.0.0

Compare Source

New rules
Improvements
Fixes


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner December 26, 2025 20:18
@renovate renovate bot added c: dependencies Pull requests that adds/updates a dependency p: 1-normal Nothing urgent labels Dec 26, 2025
@renovate renovate bot added this to the vAnytime milestone Dec 26, 2025
@netlify
Copy link

netlify bot commented Dec 26, 2025

Deploy Preview for fakerjs ready!

Name Link
🔨 Latest commit 3dfdc55
🔍 Latest deploy log https://app.netlify.com/projects/fakerjs/deploys/694f13b594af8a0008ead0cd
😎 Deploy Preview https://deploy-preview-3687.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Dec 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.97%. Comparing base (ca01985) to head (3dfdc55).

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #3687   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files        2995     2995           
  Lines      236324   236324           
  Branches      938      940    +2     
=======================================
  Hits       236267   236267           
  Misses         57       57           
Files with missing lines Coverage Δ
src/internal/date.ts 100.00% <ø> (ø)
src/modules/date/index.ts 100.00% <100.00%> (ø)
src/modules/finance/index.ts 100.00% <ø> (ø)
src/modules/helpers/index.ts 96.80% <ø> (ø)
src/modules/number/index.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/major-eslint branch from 0bc31a4 to c75e625 Compare December 26, 2025 20:59
@renovate renovate bot force-pushed the renovate/major-eslint branch from c75e625 to c80599b Compare December 26, 2025 21:33
@xDivisionByZerox
Copy link
Member

xDivisionByZerox commented Dec 26, 2025

I need to update some parts to align with the updated eslint preset rules:

  • The @throws tag in the JSDocs now required a type to be specified - in out case this should always be FakerError
  • Array#sort should no longer be used. Array#toSorted should be used instead.
  • BigInt should be written as a literal (123456n) of using the constructor (BigInt('123456'))

@renovate
Copy link
Contributor Author

renovate bot commented Dec 27, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Member

@Shinigami92 Shinigami92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish toSorted would be smarter and only necessary if the base array was a "mutable" array.
Right now it could just cost nano seconds of performance, but anyway, no production code was harmed 🤷


const min = BigInt(options.min ?? 0);
const max = BigInt(options.max ?? min + BigInt(999999999999999));
const max = BigInt(options.max ?? min + 999999999999999n);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might had these for legacy compatibility reasons.
Could you check if calling BigInt(0) is resulting in another kind of error as 0n in an old ecma version?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell both the constructor and BigInt literals were both introduced at same time in ES2020 so it shouldn't make a difference.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that, however we are not using Intl global for some reason as well. Environments like React Native I think can have issues with that, and we don't have tests for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: dependencies Pull requests that adds/updates a dependency p: 1-normal Nothing urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants