-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Labels
Description
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
- https://github.com/eslint/css/blob/main/src/index.js#L43
- https://github.com/eslint/css/blob/main/tests/package/exports.test.js#L65-L67
JSON
- https://github.com/eslint/json/blob/main/src/index.js#L45
- https://github.com/eslint/json/blob/main/tests/package/exports.test.js#L64-L66
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
Labels
Type
Projects
Status
Complete