Skip to content

Change Request: Export JSONRuleDefinition and other types #82

@mrmckeb

Description

@mrmckeb

Environment

Local ESLint version: v9.21.0
Global ESLint version: Not found
@eslint/json version: 0.10.0
Node version: v22.11.0
npm version: v10.9.0
Operating System: darwin 24.3.0

What problem do you want to solve?

I was planning to create some custom ESLint JSON rules, but noted that the types are not currently exported.

What do you think is the correct solution?

It would be great to export types to encourage third-party rule creation.

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions