Skip to content
PluginStats

eslint-plugin-yml weekly downloads statistics

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

This ESLint plugin provides linting rules for YAML.

View on npm Fresh · Oct 17, 2026

eslint-plugin-yml has 627,860 recorded weekly downloads on npm, a decrease of 41.7% over the past 30 days.

It ranks #216 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -46.1%.

PluginStats has 542 daily observations since Apr 24, 2025; the latest is from Oct 17, 2026.

Weekly downloads
627,860
Official API · Oct 17, 2026
7-day growth
-50.5%
-641.3K weekly downloads
30-day growth
-41.7%
-448.4K weekly downloads
90-day growth
-46.1%
-537.3K weekly downloads
Rank
#216
Among tracked npm listings

About eslint-plugin-yml

Introduction

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

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

:book: Documentation

See documents.

:cd: Installation

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

:book: Usage

Configuration

Use eslint.config.js file to configure rules. See also: .

Example eslint.config.js:

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:

Parser Options

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

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:

Languages

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

• yml/yaml ... YAML files

For example, to apply settings specifically to YAML files, you can use the language field in your ESLint configuration:

The configuration above is included in the shareable configs provided by this plugin, so using configs is generally recommended.

See also

: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 .yaml files, because the extension targets only *.js or *.jsx files by default.

Example .vscode/settings.json:

JetBrains WebStorm IDEs

In any of the JetBrains IDEs you can configure the linting scope. Following the steps in their help document, you can add YAML files to the scope like so:

1. Open the Settings/Preferences dialog, go to Languages and Frameworks | JavaScript | Code Quality Tools | ESLint, and select Automatic ESLint configuration or Manual ESLint configuration. 2. In the Run for files field, update the pattern that defines the set of files to be linted to include YAML files as well:

:white_check_mark: Rules

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 config.

YAML Rules

| Rule ID | Description | Fixable | RECOMMENDED | STANDARD |

| yml/block-mapping-colon-indicator-newline | enforce consistent line breaks after : indicator | :wrench: | | :star: | | yml/block-mapping-question-indicator-newline | enforce consistent line breaks after ? indicator | :wrench: | | :star: | | yml/block-mapping | require or disallow block style mappings. | :wrench: | | :star: | | yml/block-sequence-hyphen-indicator-newline | enforce consistent line breaks after - indicator | :wrench: | | :star: | | yml/block-sequence | require or disallow block style sequences. | :wrench: | | :star: | | yml/file-extension | enforce YAML file extension | | | | | yml/indent | enforce consistent indentation | :wrench: | | :star: | | yml/key-name-casing | enforce naming convention to key names | | | | | yml/no-boolean-key | disallow boolean mapping keys | | | | | yml/no-empty-document | disallow empty document | | :star: | :star: | | yml/no-empty-key | disallow empty mapping keys | | :star: | :star: | | yml/no-empty-mapping-value | disallow empty mapping values | | :star: | :star: | | yml/no-empty-sequence-entry | disallow empty sequence entries | | :star: | :star: | | yml/no-tab-indent | disallow tabs for indentation. | | :star: | :star: | | yml/no-trailing-zeros | disallow trailing zeros for floats | :wrench: | | :star: | | yml/plain-scalar | require or disallow plain style scalar. | :wrench: | | :star: | | yml/quotes | enforce the consistent use of either double, or single quotes | :wrench: | | :star: | | yml/require-string-key | disallow mapping keys other than strings | | | | | yml/sort-keys | require mapping keys to be sorted | :wrench: | | | | yml/sort-sequence-values | require sequence values to be sorted | :wrench: | | | | yml/vue-custom-block/no-parsing-error | disallow parsing errors in Vue custom blocks | | :star: | :star: |

Extension Rules…

Description from the npm listing.

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

Where eslint-plugin-yml sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 11, #16 (overall #216)
All npm: every listing in weekly downloads order
PNG SVG
ESLint plugins252 listings · 13 pages · page 3, #6 (overall #46)
ESLint plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

eslint-plugin-yml weekly downloads on npm, last 90 days: 627,860 weekly downloads as of Oct 17, 2026, -46.1% over 90 days.eslint-plugin-ymlWeekly downloads on npm · Last 90 days627,860downloads / week-46.1% over 90 days600K800K1M1.2M1.4M1.6MJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
eslint-plugin-yml weekly downloads on npm, last 90 days: 627,860 weekly downloads as of Oct 17, 2026, -46.1% over 90 days.
PNG SVG

7/30/90-day growth

eslint-plugin-yml weekly downloads growth on npm: -50.5% over 7 days, -41.7% over 30 days, -46.1% over 90 days.eslint-plugin-ymlWeekly downloads growth on npm627,860downloads / week now7-day growth-641,306 weekly downloads-50.5%30-day growth-448,373 weekly downloads-41.7%90-day growth-537,256 weekly downloads-46.1%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
eslint-plugin-yml weekly downloads growth on npm: -50.5% over 7 days, -41.7% over 30 days, -46.1% over 90 days.
PNG SVG

Ranking history

eslint-plugin-yml npm ranking history: currently #216 (by weekly downloads).eslint-plugin-ymlnpm ranking · by weekly downloads · Last 90 days#216current rank#80#100#120#140#160#180#200#220Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
eslint-plugin-yml npm ranking history: currently #216 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (542)
Recent weekly downloads observations for eslint-plugin-yml
Date (UTC)Weekly downloadsChange vs. previous
627,860-119.7K
747,559+10.6K
736,996-270K
1,006,963-280.8K
1,287,7930
1,287,793-2.6K
1,290,367+21.2K
1,269,166+10.4K
1,258,778+4.8K
1,254,024-16.8K
1,270,832-23.7K
1,294,506-284.8K
1,579,322+11.1K
1,568,271—

Similar npm ESLint plugins plugins

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 Oct 18, 2026. See the methodology.