Skip to content

build(deps-dev): bump eslint-plugin-jsonc from 2.16.0 to 3.0.0#335

Merged
steoj merged 1 commit intomainfrom
dependabot/npm_and_yarn/eslint-plugin-jsonc-3.0.0
Mar 9, 2026
Merged

build(deps-dev): bump eslint-plugin-jsonc from 2.16.0 to 3.0.0#335
steoj merged 1 commit intomainfrom
dependabot/npm_and_yarn/eslint-plugin-jsonc-3.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2026

Bumps eslint-plugin-jsonc from 2.16.0 to 3.0.0.

Release notes

Sourced from eslint-plugin-jsonc's releases.

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;
      }>;

v2.21.1

Patch Changes

v2.21.0

Minor Changes

  • #426 efc00a6 Thanks @​ota-meshi! - feat(sort-array-values): improve to calculate the minimum edit distance for sorting and report the optimal sorting direction

  • #426 efc00a6 Thanks @​ota-meshi! - feat(sort-keys): improve to calculate the minimum edit distance for sorting and report the optimal sorting direction

... (truncated)

Changelog

Sourced from eslint-plugin-jsonc's changelog.

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;
      }>;

2.21.1

Patch Changes

2.21.0

Minor Changes

... (truncated)

Commits
  • ead4b7c chore: release eslint-plugin-jsonc (#467)
  • 75304cf Removed re-export from jsonc-eslint-parser (#477)
  • 633b7d1 feat: improve type definitions (#476)
  • 5a6cd2a feat: language options have been split into 4 (#475)
  • 90c0d61 fix: replace espree with jsonc-eslint-parser for tokenization (#474)
  • a07fdab chore: fix site build script
  • a224a3b fix(deps): update dependency espree to v11 (#458)
  • 0f6d480 feat: include "no-irregular-whitespace" rule in recommended configs (#473)
  • d30112b Add ESLint language plugin support to eslint-plugin-jsonc (#471)
  • 74c1b57 chore: add build step to format workflow
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for eslint-plugin-jsonc since your current version.


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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 6, 2026
Bumps [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) from 2.16.0 to 3.0.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.16.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/eslint-plugin-jsonc-3.0.0 branch from 7f3db51 to d511ae9 Compare March 9, 2026 07:22
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Test Coverage

Vitest Coverage (summary)

Lines Statements Branches Functions
Coverage: 100%
100% (273/273) 98.29% (115/117) 100% (58/58)
Coverage Report (100%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files10098.29100100 
src10098.29100100 
   ...ailureRate.ts100100100100 
   ...itsAdapter.ts100100100100 
   ...yFrequency.ts10090.910010023
   IssuesAdapter.ts100100100100 
   LeadTime.ts10096.5510010059
   ...eToRestore.ts100100100100 
   ...stsAdapter.ts100100100100 
   ...aseAdapter.ts100100100100 
   index.ts100100100100 
src/interfaces0000 
   ...itsAdapter.ts0000 
   ...uesAdapter.ts0000 
   ...stsAdapter.ts0000 
   ...aseAdapter.ts0000 
src/types0000 
   Commit.ts0000 
   Issue.ts0000 
   Person.ts0000 
   PullRequest.ts0000 
   Release.ts0000 

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Code Coverage change
This PR changes coverage by 0 %
Component coverage will change from 100% to 100%.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Stryker report

File % score # killed # timeout # survived # no cov # errors
DeployFrequency.ts 93.10 27 0 2 0 12
LeadTime.ts 67.05 59 0 29 0 17
MeanTimeToRestore.ts 86.54 90 0 14 0 24
ChangeFailureRate.ts 87.36 76 0 11 0 11
IssuesAdapter.ts 45.00 9 0 11 0 6
PullRequestsAdapter.ts 45.00 9 0 11 0 6
ReleaseAdapter.ts 45.00 9 0 11 0 6
CommitsAdapter.ts 100.00 5 0 0 0 4
index.ts 69.77 60 0 26 0 3
All 74.95 344 0 115 0 89

github-actions bot pushed a commit that referenced this pull request Mar 9, 2026
@steoj steoj merged commit b97357e into main Mar 9, 2026
36 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/eslint-plugin-jsonc-3.0.0 branch March 9, 2026 08:56
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Stryker report

File % score # killed # timeout # survived # no cov # errors
DeployFrequency.ts 93.10 27 0 2 0 12
LeadTime.ts 67.05 59 0 29 0 17
MeanTimeToRestore.ts 86.54 90 0 14 0 24
ChangeFailureRate.ts 87.36 76 0 11 0 11
IssuesAdapter.ts 45.00 9 0 11 0 6
PullRequestsAdapter.ts 45.00 9 0 11 0 6
ReleaseAdapter.ts 45.00 9 0 11 0 6
CommitsAdapter.ts 100.00 5 0 0 0 4
index.ts 69.77 60 0 26 0 3
All 74.95 344 0 115 0 89

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.

1 participant