Skip to content
PluginStats

eslint-plugin-yml weekly downloads statistics

By ota-meshi (12 listings) · npm · ESLint plugins

This ESLint plugin provides linting rules for YAML.

View on npm Fresh · Dec 6, 2026

eslint-plugin-yml has 1,737,798 recorded weekly downloads on npm, an increase of 9.6% over the past 30 days, ranking #238 of 3,247 tracked listings.

Weekly downloads
1,737,798
Official API · Dec 5, 2026
7-day growth
+9.4%
+149.2K weekly downloads
30-day growth
+9.6%
+151.8K weekly downloads
90-day growth
+56.0%
+623.8K weekly downloads
Rank
#238
▲ 1 in 7 days

About eslint-plugin-yml

Introduction

eslint-plugin-yml is ESLint plugin provides linting rules for [YAML].

NPM license NPM version NPM downloads NPM downloads NPM downloads NPM downloads NPM downloads Build Status Coverage Status

:name_badge: Features

This ESLint plugin provides linting rules for [YAML].

  • You can use ESLint to lint [YAML].
  • You can find out the problem with your [YAML] files.
  • You can apply consistent code styles to your [YAML] files.
  • Supports Vue SFC custom blocks such as <i18n lang="yaml">.
    Requirements vue-eslint-parser v7.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.

:question: How is it different from other YAML plugins?

Plugins that do not use AST

e.g. eslint-plugin-yaml

These plugins use the processor to parse and return the results independently, without providing the ESLint engine with AST and source code text.

Plugins don't provide AST, so you can't use directive comments (e.g. # eslint-disable).
Plugins don't provide source code text, so you can't use it with plugins and rules that use text (e.g. eslint-plugin-prettier, eol-last).

eslint-plugin-yml works by providing AST and source code text to ESLint.

<!--DOCS_IGNORE_START-->

:book: Documentation

See documents.

:cd: Installation

npm install --save-dev eslint eslint-plugin-yml

Requirements

  • ESLint v9.38.0 and above
  • Node.js v20.19.0 or higher (in the 20.x line), v22.13.0 or higher (in the 22.x line), or v24.0.0 and above
<!--DOCS_IGNORE_END-->

: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-new.

Example eslint.config.js:

import eslintPluginYml from 'eslint-plugin-yml';
export default [
  // add more generic rule sets here, such as:
  // js.configs.recommended,
  ...eslintPluginYml.configs.recommended,
  {
    rules: {
      // override/add rules settings here, such as:
    // 'yml/rule-name': 'error'
    }
  }
];

This plugin provides configs:

  • *.configs.base ... Configuration to enable correct YAML parsing.
  • *.configs.recommended ... Above, plus rules to prevent errors or unintended behavior.
  • *.configs.standard ... Above, plus rules to enforce the common stylistic conventions.
  • *.configs.prettier ... Turn off rules that may conflict with Prettier.

See the rule list to get the rules that this plugin provides.

Note: The *.configs['flat/*'] configs are still available for backward compatibility, but it is recommended to use the new config names without the flat/ prefix.

Parser Configuration

If you have specified a parser, you need to configure a parser for .yaml.

For example, if you are using the "@babel/eslint-parser", configure it as follows:

import eslintPluginYml from 'eslint-plugin-yml';
import babelParser from '@babel/eslint-parser';

export default [
  ...eslintPluginYml.configs.standard,
  {
    files: ['**/*.js'],
    languageOptions: {
      parser: babelParser,
    },
  },
  // YAML files are already configured by the plugin
];
Parser Options

The following parser options for yaml-eslint-parser are available by specifying them in parserOptions in the ESLint configuration file.

import eslintPluginYml from 'eslint-plugin-yml';

export default [
  ...eslintPluginYml.configs.recommended,
  {
    files: ['**/*.yaml', '**/*.yml'],
    languageOptions: {
      parserOptions: {
        defaultYAMLVersion: '1.2',
      },
    },
  },
];

See also https://github.com/ota-meshi/yaml-eslint-parser#readme.

Running ESLint from the command line

With ESLint v9 and flat config, ESLint automatically lints all files matched by your config. You typically don't need the --ext option anymore.

Examples:

eslint .
eslint "src/**/*.{js,yaml,yml}"
Languages

This plugin provides the following language identifiers for use in ESLint configurations:

  • yml/yaml ... YAML files…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • yaml
  • yml
  • lint

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

eslint-plugin-yml weekly downloads on npm, last 90 days: 1,737,798 weekly downloads as of Dec 5, 2026, +56.0% over 90 days.eslint-plugin-ymlWeekly downloads on npm · Last 90 days1,737,798downloads / week+56.0% over 90 days0200K400K600K800K1M1.2M1.4M1.6M1.8MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-plugin-yml weekly downloads on npm, last 90 days: 1,737,798 weekly downloads as of Dec 5, 2026, +56.0% over 90 days.

7/30/90-day growth

eslint-plugin-yml weekly downloads growth on npm: +9.4% over 7 days, +9.6% over 30 days, +56.0% over 90 days.eslint-plugin-ymlWeekly downloads growth on npm1,737,798downloads / week now7-day growth+149,231 weekly downloads+9.4%30-day growth+151,782 weekly downloads+9.6%90-day growth+623,769 weekly downloads+56.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-yml weekly downloads growth on npm: +9.4% over 7 days, +9.6% over 30 days, +56.0% over 90 days.

Ranking history

eslint-plugin-yml npm ranking history: currently #238 (by weekly downloads).eslint-plugin-ymlnpm ranking · by weekly downloads · Last 90 days#238current rank#80#100#120#140#160#180#200#220#240#260Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-yml npm ranking history: currently #238 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 12, #18 (overall #238)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 3, #12 (overall #52)
ESLint plugins: every listing in weekly downloads order

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 (591)
Recent weekly downloads observations for eslint-plugin-yml
Date (UTC)Weekly downloadsChange vs. previous
1,737,798+14.3K
1,723,481+37.3K
1,686,137+39.5K
1,646,663+29.8K
1,616,873+31.4K
1,585,503+4.4K
1,581,092-7.5K
1,588,567-12.7K
1,601,257-19.7K
1,620,957-32.4K
1,653,399-33.7K
1,687,088-11.1K
1,698,155+2.4K
1,695,783—

Similar npm ESLint plugins plugins

All 20 eslint-plugin-yml alternatives

Data 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-yml. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.