eslint-plugin-toml weekly downloads statistics
By ota-meshi (10 listings) · npm · ESLint plugins
This ESLint plugin provides linting rules for TOML.
eslint-plugin-toml has 304,205 recorded weekly downloads on npm, a decrease of 32.3% over the past 30 days, ranking #323 of 2,322 tracked listings.
About eslint-plugin-toml
Introduction
eslint-plugin-toml is ESLint plugin provides linting rules for [TOML].
:name_badge: Features
This ESLint plugin provides linting rules for [TOML].
- You can use ESLint to lint [TOML].
- You can find out the problem with your [TOML] files.
- You can apply consistent code styles to your [TOML] files.
- Supports Vue SFC custom blocks such as
<custom-block lang="toml">.
Requirementsvue-eslint-parserv7.3.0 and above. - Supports ESLint directives. e.g.
# eslint-disable-next-line - You can check your code in real-time using the ESLint editor integrations.
You can check on the Online DEMO.
<!--DOCS_IGNORE_START-->:book: Documentation
See documents.
:cd: Installation
npm install --save-dev eslint eslint-plugin-toml
<!--DOCS_IGNORE_END-->Requirements
- ESLint v9.38.0 and above
- Node.js v20.19.x, v22.13.x, v24.x and above
:book: Usage
<!--USAGE_SECTION_START--> <!--USAGE_GUIDE_START-->Configuration
Use eslint.config.js file to configure rules. See also: https://eslint.org/docs/latest/use/configure/configuration-files.
Example eslint.config.js:
import eslintPluginToml from 'eslint-plugin-toml';
export default [
// add more generic rule sets here, such as:
// js.configs.recommended,
...eslintPluginToml.configs.recommended,
{
rules: {
// override/add rules settings here, such as:
// 'toml/rule-name': 'error'
}
}
];
This plugin provides configs:
*.configs.base... Configuration to enable correct TOML parsing.*.configs.recommended... Above, plus rules to prevent errors or unintended behavior.*.configs.standard... Above, plus rules to enforce the common stylistic conventions.*.configs.all... Configuration to enable correct TOML parsing and all non-deprecated rules. This config is not recommended for production use because it may change with every minor release. Use at your own risk.
For backward compatibility, you can also use the flat/* namespace:
*.configs['flat/all']*.configs['flat/base']*.configs['flat/recommended']*.configs['flat/standard']
See the rule list to get the rules that this plugin provides.
Languages
This plugin provides the following language identifiers for use in ESLint configurations:
toml/toml... TOML files
For example, to apply settings specifically to TOML files, you can use the language field in your ESLint configuration:
import eslintPluginToml from 'eslint-plugin-toml';
export default [
{
files: ["*.toml", "**/*.toml"],
plugins: {
toml: eslintPluginToml,
},
language: "toml/toml",
}
]
The configuration above is included in the shareable configs provided by this plugin, so using configs is generally recommended.
See also https://eslint.org/docs/latest/use/configure/plugins#specify-a-language
:computer: Editor Integrations
Visual Studio Code
Use the dbaeumer.vscode-eslint extension that Microsoft provides officially.
You have to configure the eslint.validate option of the extension to check .toml files, because the extension targets only *.js or *.jsx files by default.
Example .vscode/settings.json:
{
"eslint.validate": [
"javascript",
"javascriptreact",
"toml"
]
}
<!--USAGE_GUIDE_END-->
<!--USAGE_SECTION_END-->
:white_check_mark: Rules
<!--RULES_SECTION_START-->The --fix option on the command line automatically fixes problems reported by rules which have a wrench :wrench: below.
The rules with the following star :star: are included in the configs.
TOML Rules…
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- toml
- lint
- formatter
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm ESLint plugins plugins
All 20 eslint-plugin-toml alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-toml. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.