Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2025

This PR contains the following updates:

Package Change Age Confidence
@eslint/js (source) 9.20.0 -> 9.31.0 age confidence
eslint (source) 9.20.1 -> 9.31.0 age confidence
prettier (source) 3.5.1 -> 3.6.2 age confidence

Release Notes

eslint/eslint (@​eslint/js)

v9.31.0

Compare Source

v9.30.1

Compare Source

v9.30.0

Compare Source

v9.29.0

Compare Source

v9.28.0

Compare Source

v9.27.0

Compare Source

v9.26.0

Compare Source

Features
Bug Fixes
  • 96e84de fix: check cache file existence before deletion (#​19648) (sethamus)
  • d683aeb fix: don't crash on tests with circular references in RuleTester (#​19664) (Milos Djermanovic)
  • 9736d5d fix: add namespace to Plugin.meta type (#​19661) (Milos Djermanovic)
  • 17bae69 fix: update RuleTester.run() type (#​19634) (Nitin Kumar)
Documentation
  • dd98d63 docs: Update README (GitHub Actions Bot)
  • c25e858 docs: Update README (GitHub Actions Bot)
  • b2397e9 docs: Update README (GitHub Actions Bot)
  • addd0a6 docs: fix formatting of unordered lists in Markdown (#​19660) (Milos Djermanovic)
  • a21b38d docs: Update README (GitHub Actions Bot)
  • c0721a7 docs: fix double space in command (#​19657) (CamWass)
Chores

v9.25.1

Compare Source

v9.25.0

Compare Source

Features
  • dcd95aa feat: support TypeScript syntax in no-empty-function rule (#​19551) (sethamus)
  • 77d6d5b feat: support TS syntax in no-unused-expressions (#​19564) (Sweta Tanwar)
  • 90228e5 feat: support JSRuleDefinition type (#​19604) (루밀LuMir)
  • 59ba6b7 feat: add allowObjects option to no-restricted-properties (#​19607) (sethamus)
  • db650a0 feat: support TypeScript syntax in no-invalid-this rule (#​19532) (Tanuj Kanti)
  • 9535cff feat: support TS syntax in no-loop-func (#​19559) (Nitin Kumar)
Bug Fixes
  • 910bd13 fix: nodeTypeKey not being used in NodeEventGenerator (#​19631) (StyleShit)
Documentation
  • ca7a735 docs: update no-undef-init when not to use section (#​19624) (Tanuj Kanti)
  • 1b870c9 docs: use eslint-config-xo in the getting started guide (#​19629) (Nitin Kumar)
  • 5d4af16 docs: add types for multiple rule options (#​19616) (Tanuj Kanti)
  • e8f8d57 docs: Update README (GitHub Actions Bot)
  • a40348f docs: no-use-before-define tweaks (#​19622) (Kirk Waiblinger)
  • 0ba3ae3 docs: Update README (GitHub Actions Bot)
  • 865dbfe docs: ensure "learn more" deprecation links point to useful resource (#​19590) (Kirk Waiblinger)
  • f80b746 docs: add known limitations for no-self-compare (#​19612) (Nitin Kumar)
  • 865aed6 docs: Update README (GitHub Actions Bot)
Chores

v9.24.0

Compare Source

Features

  • 556c25b feat: support loading TS config files using --experimental-strip-types (#​19401) (Arya Emami)
  • 72650ac feat: support TS syntax in init-declarations (#​19540) (Nitin Kumar)
  • 03fb0bc feat: normalize patterns to handle "./" prefix in files and ignores (#​19568) (Pixel998)
  • 071dcd3 feat: support TS syntax in no-dupe-class-members (#​19558) (Nitin Kumar)
  • cd72bcc feat: Introduce a way to suppress violations (#​19159) (Iacovos Constantinou)
  • 2a81578 feat: support TS syntax in no-loss-of-precision (#​19560) (Nitin Kumar)
  • 30ae4ed feat: add new options to class-methods-use-this (#​19527) (sethamus)
  • b79ade6 feat: support TypeScript syntax in no-array-constructor (#​19493) (Tanuj Kanti)

Bug Fixes

  • b23d1c5 fix: deduplicate variable names in no-loop-func error messages (#​19595) (Nitin Kumar)
  • fb8cdb8 fix: use any[] type for context.options (#​19584) (Francesco Trotta)

Documentation

  • f857820 docs: update documentation for --experimental-strip-types (#​19594) (Nikolas Schröter)
  • 803e4af docs: simplify gitignore path handling in includeIgnoreFile section (#​19596) (Thomas Broyer)
  • 6d979cc docs: Update README (GitHub Actions Bot)
  • 82177e4 docs: Update README (GitHub Actions Bot)
  • e849dc0 docs: replace existing var with const (#​19578) (Sweta Tanwar)
  • 0c65c62 docs: don't pass filename when linting rule examples (#​19571) (Milos Djermanovic)
  • 6be36c9 docs: Update custom-rules.md code example of fixer (#​19555) (Yifan Pan)

Build Related

  • 366e369 build: re-enable Prettier formatting for package.json files (#​19569) (Francesco Trotta)

Chores

v9.23.0

Compare Source

Features

  • 557a0d2 feat: support TypeScript syntax in no-useless-constructor (#​19535) (Josh Goldberg ✨)
  • 8320241 feat: support TypeScript syntax in default-param-last (#​19431) (Josh Goldberg ✨)
  • 833c4a3 feat: defineConfig() supports "flat/" config prefix (#​19533) (Nicholas C. Zakas)
  • 4a0df16 feat: circular autofix/conflicting rules detection (#​19514) (Milos Djermanovic)
  • be56a68 feat: support TypeScript syntax in class-methods-use-this (#​19498) (Josh Goldberg ✨)

Bug Fixes

  • 0e20aa7 fix: move deprecated RuleContext methods to subtype (#​19531) (Francesco Trotta)
  • cc3bd00 fix: reporting variable used in catch block in no-useless-assignment (#​19423) (Tanuj Kanti)
  • d46ff83 fix: no-dupe-keys false positive with proto setter (#​19508) (Milos Djermanovic)
  • e732773 fix: navigation of search results on pressing Enter (#​19502) (Tanuj Kanti)
  • f4e9c5f fix: allow RuleTester to test files inside node_modules/ (#​19499) (fisker Cheung)

Documentation

Build Related

  • 2357edd build: exclude autogenerated files from Prettier formatting (#​19548) (Francesco Trotta)

Chores

v9.22.0

Compare Source

Features
  • 7ddb095 feat: Export defineConfig, globalIgnores (#​19487) (Nicholas C. Zakas)
Bug Fixes
  • 19c0127 fix: improve message for no-console suggestions (#​19483) (Francesco Trotta)
  • 49e624f fix: improve error message for falsy parsed JS AST (#​19458) (Josh Goldberg ✨)
Documentation
  • 86c5f37 docs: Update README (GitHub Actions Bot)
  • fbdeff0 docs: Update README (GitHub Actions Bot)
  • c9e8510 docs: generate deprecation notice in TSDoc comments from rule metadata (#​19461) (Francesco Trotta)
  • 2f386ad docs: replace var with const in rule examples (#​19469) (Tanuj Kanti)
  • 0e688e3 docs: Update README (GitHub Actions Bot)
  • 06b596d docs: Restore the carrot to the position where the search input was lost (#​19459) (Amaresh S M)
Chores

v9.21.0

Compare Source

Features
Bug Fixes
  • db5340d fix: update missing plugin message template (#​19445) (Milos Djermanovic)
  • d8ffdd4 fix: do not exit process on rule crash (#​19436) (Francesco Trotta)
Documentation
  • c5561ea docs: Update README (GitHub Actions Bot)
  • 80b0485 docs: replace var with let and const in rule example (#​19434) (Tanuj Kanti)
  • f67d5e8 docs: Update README (GitHub Actions Bot)
  • 75afc61 docs: Update README (GitHub Actions Bot)
  • 0636cab docs: Update Eleventy from v2 to v3 (#​19415) (Amaresh S M)
  • dd7d930 docs: Update README (GitHub Actions Bot)
Chores
  • a8c9a9f chore: update @eslint/eslintrc and @eslint/js (#​19453) (Francesco Trotta)
  • 265e0cf chore: package.json update for @​eslint/js release (Jenkins)
  • 3401b85 test: add test for Rule.ReportDescriptor type (#​19449) (Francesco Trotta)
  • e497aa7 chore: update rewrite dependencies (#​19448) (Francesco Trotta)
  • dab5478 chore: better error message for missing plugin in config (#​19402) (Tanuj Kanti)
  • ebfe2eb chore: set js language for bug report issue config block (#​19439) (Josh Goldberg ✨)
  • 5fd211d test: processors can return subpaths (#​19425) (Milos Djermanovic)
eslint/eslint (eslint)

v9.31.0

Compare Source

v9.30.1

Compare Source

v9.30.0

Compare Source

v9.29.0

Compare Source

v9.28.0

Compare Source

v9.27.0

Compare Source

v9.26.0

Compare Source

v9.25.1

Compare Source

v9.25.0

Compare Source

v9.24.0

Compare Source

v9.23.0

Compare Source

v9.22.0

Compare Source

v9.21.0

Compare Source

Features
Bug Fixes
  • db5340d fix: update missing plugin message template (#​19445) (Milos Djermanovic)
  • d8ffdd4 fix: do not exit process on rule crash (#​19436) (Francesco Trotta)
Documentation
  • c5561ea docs: Update README (GitHub Actions Bot)
  • 80b0485 docs: replace var with let and const in rule example (#​19434) (Tanuj Kanti)
  • f67d5e8 docs: Update README (GitHub Actions Bot)
  • 75afc61 docs: Update README (GitHub Actions Bot)
  • 0636cab docs: Update Eleventy from v2 to v3 (#​19415) (Amaresh S M)
  • dd7d930 docs: Update README (GitHub Actions Bot)
Chores
  • a8c9a9f chore: update @eslint/eslintrc and @eslint/js (#​19453) (Francesco Trotta)
  • 265e0cf chore: package.json update for @​eslint/js release (Jenkins)
  • 3401b85 test: add test for Rule.ReportDescriptor type (#​19449) (Francesco Trotta)
  • e497aa7 chore: update rewrite dependencies (#​19448) (Francesco Trotta)
  • dab5478 chore: better error message for missing plugin in config (#​19402) (Tanuj Kanti)
  • ebfe2eb chore: set js language for bug report issue config block (#​19439) (Josh Goldberg ✨)
  • 5fd211d test: processors can return subpaths (#​19425) (Milos Djermanovic)
prettier/prettier (prettier)

v3.6.2

Compare Source

diff

Markdown: Add missing blank line around code block (#​17675 by @​fisker)
<!-- Input -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

<!-- Prettier 3.6.1 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```
   1. Another
   2. List

<!-- Prettier 3.6.2 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

v3.6.1

Compare Source

diff

TypeScript: Allow const without initializer (#​17650, #​17654 by @​fisker)
// Input
export const version: string;

// Prettier 3.6.0 (--parser=babel-ts)
SyntaxError: Unexpected token (1:21)
> 1 | export const version: string;
    |                     ^

// Prettier 3.6.0 (--parser=oxc-ts)
SyntaxError: Missing initializer in const declaration (1:14)
> 1 | export const version: string;
    |              ^^^^^^^^^^^^^^^

// Prettier 3.6.1
export const version: string;
Miscellaneous: Avoid closing files multiple times (#​17665 by @​43081j)

When reading a file to infer the interpreter from a shebang, we use the
n-readlines library to read the first line in order to get the shebang.

This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if n-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗 Release Notes

v3.5.3

Compare Source

v3.5.2

Compare Source

diff

Remove module-sync condition (#​17156 by @​fisker)

In Prettier 3.5.0, we added module-sync condition to package.json, so that require("prettier") can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the module-sync condition, so require("prettier") will still use the CommonJS version, we'll revisit until require(ESM) feature is more stable.


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 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 force-pushed the renovate/linters branch from e36f9f2 to 0f2406b Compare March 24, 2025 05:35
@renovate renovate bot changed the title chore(deps): update linters to v9.21.0 chore(deps): update linters Mar 24, 2025
@renovate renovate bot force-pushed the renovate/linters branch 3 times, most recently from 53270a8 to 22b48aa Compare April 6, 2025 22:15
@renovate renovate bot force-pushed the renovate/linters branch 3 times, most recently from defc05b to 7f60725 Compare April 20, 2025 22:10
@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from 6c8ef7a to bdc55c5 Compare May 4, 2025 21:21
@renovate renovate bot force-pushed the renovate/linters branch 5 times, most recently from 6348bc2 to 9f2e516 Compare May 18, 2025 18:34
@renovate renovate bot force-pushed the renovate/linters branch from 9f2e516 to 0308a27 Compare May 21, 2025 20:11
@renovate renovate bot force-pushed the renovate/linters branch from 0308a27 to c20cc0c Compare June 6, 2025 04:03
@renovate renovate bot force-pushed the renovate/linters branch from c20cc0c to aab6022 Compare June 15, 2025 21:33
@renovate renovate bot force-pushed the renovate/linters branch from aab6022 to b7d7ea6 Compare June 29, 2025 20:50
@renovate renovate bot force-pushed the renovate/linters branch from b7d7ea6 to df6c495 Compare July 13, 2025 18:12
@renovate renovate bot force-pushed the renovate/linters branch 4 times, most recently from 15ce38c to bccd18e Compare July 27, 2025 21:40
@renovate renovate bot force-pushed the renovate/linters branch 2 times, most recently from ecfdd38 to 8198612 Compare August 10, 2025 12:45
@renovate renovate bot force-pushed the renovate/linters branch from 8198612 to c8252d5 Compare August 10, 2025 21:54
@renovate renovate bot changed the title chore(deps): update linters chore(deps): update linters - autoclosed Aug 11, 2025
@renovate renovate bot closed this Aug 11, 2025
@renovate renovate bot deleted the renovate/linters branch August 11, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant