Skip to content

Change Request: Export MarkdownLanguage from index.js #533

@lumirlumir

Description

@lumirlumir

Environment

ESLint version: HEAD
@eslint/markdown version: HEAD
Node version: 20.19.3
npm version: 10.9.2
Operating System: Windows 11

What problem do you want to solve?

In this issue, I'd like to suggest exporting MarkdownLanguage from index.js for consistency across plugins.

Looking at the source and test code for CSS and JSON, those plugins export CSSLanguage and JSONLanguage as shown below:

CSS

JSON

What do you think is the correct solution?

Adding the following line to index.js would make this feature request work:

// ...
export * from "./languages/markdown-language.js";
// ...

Participation

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

Additional comments

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions