eslint-plugin-yaml

v1.0.2
Lint YAML files
eslint eslintplugin eslint-plugin yaml yml eslint-plugin-yaml eslint-plugin-yml

lint

run-s link.self build && eslint . --fix

test

run-s link.self build && run-p test.mjs test.cjs test.eslint8 test.format test.lint

build

tsc -p ./src/tsconfig.esm.json && tsc -p ./src/tsconfig.json

format

prettier . --write

test.cjs

eslint spec/**/*.{yml,yaml} --config ./eslint.config.cjs

test.mjs

eslint spec/**/*.{yml,yaml} --config ./eslint.config.mjs

link.self

pnpm link .

test.lint

eslint .

test.format

prettier . --check

test.eslint8

cross-env ESLINT_USE_FLAT_CONFIG=false npx eslint@8 spec/**/*.{yml,yaml} --config .eslintrc.cjs

Metadata

  • MIT
  • >=12
  • Amin Yahyaabadi, Peter deHaan
  • released 6/20/2024

Downloads

Maintainers