ESLint parser that allows linting of various plain text file types (e.g., Markdown, JSON, YAML) by treating them as plain text strings. Version 0.1.1 is the current stable release with a slow release cadence. It is designed for use with ESLint's parser option to enable linting rules (like prettier/prettier) in non-JavaScript files. Differentiates from @eslint/markdown by being simpler and file-type agnostic.
Verified import paths — ran on the pinned version, not inferred.
Exported since v0.1.1. Use to access parser metadata (e.g., name, version).
The default export is an object with parse and parseForESLint methods. ESM-only; require() will fail in CJS contexts.
Named export for the ESLint parser API. Same ESM restriction applies.
Configures ESLint to use eslint-parser-plain for .md and .json files, enabling prettier rules on them.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.