# Introduction

eslint-plugin-yml (opens new window) is ESLint plugin provides linting rules for YAML (opens new window).

NPM license (opens new window) NPM version (opens new window) NPM downloads (opens new window) NPM downloads (opens new window) NPM downloads (opens new window) NPM downloads (opens new window) NPM downloads (opens new window) Build Status (opens new window) Coverage Status (opens new window)

# 📛 Features

This ESLint plugin provides linting rules for YAML (opens new window).

You can check on the Online DEMO.

# ❓ How is it different from other YAML plugins?

# Plugins that do not use AST

e.g. eslint-plugin-yaml (opens new window)

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 (opens new window), eol-last (opens new window)).

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

# 📖 Usage

See User Guide.

# ✅ Rules

See Available Rules.

# 🚀 To Do More Verification

# Verify using JSON Schema

You can verify using JSON Schema by checking and installing eslint-plugin-json-schema-validator (opens new window).

# Verify the Vue I18n (opens new window) message resource files

You can verify the message files by checking and installing @intlify/eslint-plugin-vue-i18n (opens new window).

# 🔒 License

See the LICENSE file for license rights and limitations (MIT).