open-telemetry/opentelemetry-specification

Replace Python yamllint with NPM yaml-lint

Aberta

#2.347 aberto em 15 de fev. de 2022

 (1 comentário) (3 reações) (1 responsável)Makefile (987 forks)auto 404
Stalehelp wantedspec:miscellaneous

Métricas do repositório

Stars
 (4.267 estrelas)
Métricas de merge de PR
 (Mesclagem média 10d 15h) (43 fundiu PRs em 30d)

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)

Guia do colaborador