open-telemetry/opentelemetry-specification

Replace Python yamllint with NPM yaml-lint

オープン

#2,347 opened on 2022/02/15

 (1 件のコメント) (3 件のリアクション) (1 人の担当者)Makefile (987 件のフォーク)auto 404
Stalehelp wantedspec:miscellaneous

Repository metrics

Stars
 (4,267 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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)

コントリビューターガイド