open-telemetry/opentelemetry-specification

Replace Python yamllint with NPM yaml-lint

Open

#2,347 opened on Feb 15, 2022

 (1 comment) (3 reactions) (1 assignee)Makefile (987 forks)auto 404
Stalehelp wantedspec:miscellaneous

Repository metrics

Stars
 (4,267 stars)
PR merge metrics
 (PR metrics pending)

Description

Most of the linters are in Node, so changing yamllint with Node version simplifies local testing.

Downside: I don't know what feature-parity is between the linters.

$ npm install yaml-lint
$ npx yamllint '**/*.yaml' --ignore='node_modules/**'
✔ YAML Lint successful.

(Note: this depends on #2323)

Contributor guide