Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ESLint-readable package name #15465

Merged
merged 3 commits into from Mar 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions eslint/babel-eslint-parser/src/index.cjs
Expand Up @@ -5,6 +5,10 @@ const baseParse = require("./parse.cjs");
const { LocalClient, WorkerClient } = require("./client.cjs");
const client = new (USE_ESM ? WorkerClient : LocalClient)();

exports.meta = {
name: "@babel/eslint-parser"
nzakas marked this conversation as resolved.
Show resolved Hide resolved
};

exports.parse = function (code, options = {}) {
return baseParse(code, normalizeESLintConfig(options), client);
};
Expand Down