ESLint TOML Parser
JSON →toml-eslint-parser is a specialized parser designed to convert TOML (Tom's Obvious, Minimal Language) formatted text into an Abstract Syntax Tree (AST) that is fully compatible with ESLint. This enables developers to lint TOML files within the ESLint ecosystem, applying stylistic and structural checks similar to how JavaScript files are processed. The package is currently at version 1.0.3 and maintains an active development status, featuring regular patch releases for fixes and documentation updates, and minor releases for new features like enhanced TOML specification support. Major versions, such as the recent v1.0.0, introduce breaking changes, notably the transition to an ESM-only package. A key differentiator is its robust support for the stable TOML 1.0.0 specification, alongside experimental support for the unreleased TOML 1.1.0, offering early adoption for upcoming TOML features. While it can be integrated directly into an ESLint configuration, it is often recommended to use it in conjunction with `eslint-plugin-toml`, which conveniently bundles this parser and provides a comprehensive set of TOML-specific linting rules.
Traffic · last 30 days ↑33% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · MY