eslint / eslint/js

Expose acorn plugin from espree module

Open
#623 9 comments 0 reactions 1 assignee Claimed by @nzakas View on GitHub
accepted
Dominant language
JavaScript
Stars
2.4k
Forks
234
Avg merge
28m
Merged PRs (30d)
2

Description

The `espree` parser is defined as a plugin for the Acorn parser. This plugin used to be accessible via `espree/lib/espree.js`, but this is now an internal module and cannot be imported directly.

Could [this value](https://github.com/eslint/js/blob/9061c643a7282d0da4d2689482d5b56da83c3dac/packages/espree/espree.js#L61) be exported from the package? Something like `export const acornPlugin = espree;`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.