open-telemetry/opentelemetry-specification

Replace Python yamllint with NPM yaml-lint

開放

#2,347 建立於 2022年2月15日

 (1 則留言) (3 個反應) (1 位負責人)Makefile (987 個分叉)auto 404
Stalehelp wantedspec:miscellaneous

倉庫指標

星標
 (4,267 顆星)
PR 合併指標
 (平均合併 10天 15小時) (30 天內合併 43 個 PR)

描述

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)

貢獻者指南