open-telemetry/opentelemetry-specification

Replace Python yamllint with NPM yaml-lint

Offen

#2.347 geöffnet am 15.02.2022

 (1 Kommentar) (3 Reaktionen) (1 zugewiesene Person)Makefile (987 Forks)auto 404
Stalehelp wantedspec:miscellaneous

Repository-Metriken

Stars
 (4.267 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 10T 15h) (43 gemergte PRs in 30 T)

Beschreibung

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