Skip to content

Bump eslint-plugin-jsonc from 2.21.1 to 3.1.0#159

Merged
github-actions[bot] merged 1 commit intomainfrom
dependabot/npm_and_yarn/eslint-plugin-jsonc-3.1.0
Feb 23, 2026
Merged

Bump eslint-plugin-jsonc from 2.21.1 to 3.1.0#159
github-actions[bot] merged 1 commit intomainfrom
dependabot/npm_and_yarn/eslint-plugin-jsonc-3.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps eslint-plugin-jsonc from 2.21.1 to 3.1.0.

Release notes

Sourced from eslint-plugin-jsonc's releases.

v3.1.0

Minor Changes

  • #487 8a1f4b9 Thanks @​ota-meshi! - feat(object-curly-spacing): add emptyObjects option to control spacing in empty objects

v3.0.1

Patch Changes

v3.0.0

Major Changes

  • #471 d30112b Thanks @​copilot-swe-agent! - Add ESLint language plugin support. The plugin now exports a languages object that provides language implementations for json, jsonc, json5, and x. The shared configurations (base, recommended-with-json, etc.) now use the jsonc-based language implementation by default (via language: "jsonc/x" in ESLint flat config) and have been updated to use the new language plugin approach instead of the parser approach.

  • #468 8c87c6c Thanks @​copilot-swe-agent! - Drop support for legacy config. The plugin now exports flat configs as the main configuration format. The previous flat/* namespace is kept for backward compatibility.

  • #465 62b2127 Thanks @​copilot-swe-agent! - Drop support for older ESLint versions. The new minimum supported version is ESLint 9.38.0 or later.

  • #460 cc949e3 Thanks @​copilot-swe-agent! - Drop support for older Node.js versions. The new minimum supported versions are: ^20.19.0 || ^22.13.0 || >=24

  • #469 ee27486 Thanks @​copilot-swe-agent! - Convert to ESM-only package. The plugin now uses tsdown for bundling and is distributed as pure ESM. The package no longer supports CommonJS require() syntax. Users need to use import statements or dynamic import() to load the plugin.

  • #466 29e47c4 Thanks @​renovate! - Update dependency jsonc-eslint-parser to v3

  • #473 0f6d480 Thanks @​ota-meshi! - feat: include "no-irregular-whitespace" rule in recommended configs

  • #477 75304cf Thanks @​ota-meshi! - Removed re-export from jsonc-eslint-parser

Minor Changes

  • #474 90c0d61 Thanks @​ota-meshi! - fix: replace espree with jsonc-eslint-parser for tokenization

  • #476 633b7d1 Thanks @​ota-meshi! - The JSONCSourceCode, JSONCToken, and JSONCComment types are now provided. Using these types, you can define a RuleContext type that is useful for creating JSON rules.

    e.g.

    import type * as core from "@eslint/core";
    export type RuleContext<RuleOptions extends unknown[] = unknown[]> =
      core.RuleContext<{
        LangOptions: JSONCLanguageOptions;
        Code: JSONCSourceCode;
        RuleOptions: RuleOptions;
        Node: JSONCNodeOrToken;
        MessageIds: string;
      }>;
Changelog

Sourced from eslint-plugin-jsonc's changelog.

3.1.0

Minor Changes

  • #487 8a1f4b9 Thanks @​ota-meshi! - feat(object-curly-spacing): add emptyObjects option to control spacing in empty objects

3.0.1

Patch Changes

3.0.0

Major Changes

  • #471 d30112b Thanks @​copilot-swe-agent! - Add ESLint language plugin support. The plugin now exports a languages object that provides language implementations for json, jsonc, json5, and x. The shared configurations (base, recommended-with-json, etc.) now use the jsonc-based language implementation by default (via language: "jsonc/x" in ESLint flat config) and have been updated to use the new language plugin approach instead of the parser approach.

  • #468 8c87c6c Thanks @​copilot-swe-agent! - Drop support for legacy config. The plugin now exports flat configs as the main configuration format. The previous flat/* namespace is kept for backward compatibility.

  • #465 62b2127 Thanks @​copilot-swe-agent! - Drop support for older ESLint versions. The new minimum supported version is ESLint 9.38.0 or later.

  • #460 cc949e3 Thanks @​copilot-swe-agent! - Drop support for older Node.js versions. The new minimum supported versions are: ^20.19.0 || ^22.13.0 || >=24

  • #469 ee27486 Thanks @​copilot-swe-agent! - Convert to ESM-only package. The plugin now uses tsdown for bundling and is distributed as pure ESM. The package no longer supports CommonJS require() syntax. Users need to use import statements or dynamic import() to load the plugin.

  • #466 29e47c4 Thanks @​renovate! - Update dependency jsonc-eslint-parser to v3

  • #473 0f6d480 Thanks @​ota-meshi! - feat: include "no-irregular-whitespace" rule in recommended configs

  • #477 75304cf Thanks @​ota-meshi! - Removed re-export from jsonc-eslint-parser

Minor Changes

  • #474 90c0d61 Thanks @​ota-meshi! - fix: replace espree with jsonc-eslint-parser for tokenization

  • #476 633b7d1 Thanks @​ota-meshi! - The JSONCSourceCode, JSONCToken, and JSONCComment types are now provided. Using these types, you can define a RuleContext type that is useful for creating JSON rules.

    e.g.

    import type * as core from "@eslint/core";
    export type RuleContext<RuleOptions extends unknown[] = unknown[]> =
      core.RuleContext<{
        LangOptions: JSONCLanguageOptions;
        Code: JSONCSourceCode;
        RuleOptions: RuleOptions;
        Node: JSONCNodeOrToken;
        MessageIds: string;
      }>;

... (truncated)

Commits
  • ebbba90 chore: release eslint-plugin-jsonc (#488)
  • 8a1f4b9 feat(object-curly-spacing): add emptyObjects option to control spacing in e...
  • 16447f1 chore: release eslint-plugin-jsonc (#486)
  • 8bef6fc update @ota-meshi/ast-token-store to v0.3.0 (#484)
  • 64a85fc chore(deps): update dependency eslint-plugin-node-dependencies to v2 (#481)
  • e7034f8 docs: update configuration references in rule documentation to use `configs["...
  • 893621b chore(deps): update dependency eslint-plugin-jsonc to v3 (#478)
  • 813e326 chore: fix broken link in docs
  • ead4b7c chore: release eslint-plugin-jsonc (#467)
  • 75304cf Removed re-export from jsonc-eslint-parser (#477)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) from 2.21.1 to 3.1.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases)
- [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md)
- [Commits](ota-meshi/eslint-plugin-jsonc@v2.21.1...v3.1.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsonc
  dependency-version: 3.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 23, 2026
@github-actions
Copy link
Contributor

DocTagChecker

Looks good to me! :shipit:

What is this?

@github-actions github-actions bot merged commit 64a1e7a into main Feb 23, 2026
3 of 6 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/eslint-plugin-jsonc-3.1.0 branch February 23, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants