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 合并指标
 (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)

贡献者指南