open-telemetry/opentelemetry-specification

Replace Python yamllint with NPM yaml-lint

Ouverte

#2 347 ouverte le 15 févr. 2022

 (1 commentaire) (3 réactions) (1 personne assignée)Makefile (987 forks)auto 404
Stalehelp wantedspec:miscellaneous

Métriques du dépôt

Stars
 (4 267 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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)

Guide contributeur