open-telemetry/opentelemetry-specification
Replace Python yamllint with NPM yaml-lint
開放
#2,347 建立於 2022年2月15日
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)