open-telemetry/opentelemetry-specification
Replace Python yamllint with NPM yaml-lint
Aperta
#2347 aperta il 15 feb 2022
Stalehelp wantedspec:miscellaneous
Metriche repository
- Star
- (4267 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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)