Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pauliusm/pronto-yamllint
Pronto runner for YAMLlint
https://github.com/pauliusm/pronto-yamllint
pronto static-analyzer yaml yamllint yml
Last synced: about 1 month ago
JSON representation
Pronto runner for YAMLlint
- Host: GitHub
- URL: https://github.com/pauliusm/pronto-yamllint
- Owner: pauliusm
- License: mit
- Created: 2017-10-25T22:49:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-25T17:48:36.000Z (over 3 years ago)
- Last Synced: 2024-09-30T23:04:57.719Z (about 2 months ago)
- Topics: pronto, static-analyzer, yaml, yamllint, yml
- Language: Ruby
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pronto runner for YAMLlint
[![Gem Version](https://badge.fury.io/rb/pronto-yamllint.svg)](https://badge.fury.io/rb/pronto-yamllint)
[![Maintainability](https://api.codeclimate.com/v1/badges/e37c119ca4a0e00f95c3/maintainability)](https://codeclimate.com/github/pauliusm/pronto-yamllint/maintainability)Pronto runner for [YAMLlint](https://yamllint.readthedocs.io). [What is Pronto?](https://github.com/prontolabs/pronto)
## Prerequisites
* [install](https://yamllint.readthedocs.io/en/latest/quickstart.html#installing-yamllint) YAMLlint
* Ensure it is your `$PATH`## Installation
Run `gem install pronto-yamllint`
## Configuration
(If needed) set `YAMLLINT_OPTS` environment variable with yamllint [options](https://yamllint.readthedocs.io/en/latest/configuration.html). They will be passed to yamllint.
## Usage
Run `pronto`. Also it is quite nice to set git pre-push hook for pronto like in `.git/hooks/pre-push`:
```
#!/bin/shpronto run --exit-code
```## Changelog
0.2.0 Depend on Pronto 0.11.0
0.1.2 Depend on Pronto 0.10.0
0.1.1 Misc small fixes
0.1.0 Initial public version. Based heavily on https://kevinjalbert.com/create-your-own-pronto-runner/