README.md 3.97 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Pipeline Components: Jsonlint

![Project Stage][project-stage-shield]
![Project Maintenance][maintenance-shield]
[![License][license-shield]](LICENSE)

[![GitLab CI][gitlabci-shield]][gitlabci]

## Docker status

[![Docker Version][version-shield]][microbadger]
[![Docker Layers][layers-shield]][microbadger]
[![Docker Pulls][pulls-shield]][dockerhub]

## Usage

The image is for running jsonlint, jsonlint is installed in /app/ in case you need to customize the install before usage.
The image is based on node:10.14-alpine

## Examples

```yaml
jsonlint:
  stage: linting
25
  image: registry.gitlab.com/pipeline-components/jsonlint:latest
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  script:
    - |
      find . -not -path './.git/*' -name '*.json' -type f -print0 |
      parallel --will-cite -k -0 -n1 jsonlint -q
```

## Versioning

This project uses [Semantic Versioning][semver] for its version numbering.

## Support

Got questions?

40
Check the [discord channel][discord]
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

You could also [open an issue here][issue]

## Contributing

This is an active open-source project. We are always open to people who want to
use the code or contribute to it.

We've set up a separate document for our [contribution guidelines](CONTRIBUTING.md).

Thank you for being involved! :heart_eyes:

## Authors & contributors

The original setup of this repository is by [Robbert Müller][mjrider].

The Build pipeline is large based on [Community Hass.io Add-ons
][hassio-addons] by [Franck Nijhof][frenck].

For a full list of all authors and contributors,
check [the contributor's page][contributors].

## License

MIT License

Copyright (c) 2018 Robbert Müller

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

[commits]: https://gitlab.com/pipeline-components/jsonlint/commits/master
[contributors]: https://gitlab.com/pipeline-components/jsonlint/graphs/master
[dockerhub]: https://hub.docker.com/r/pipelinecomponents/jsonlint
[license-shield]: https://img.shields.io/badge/License-MIT-green.svg
[mjrider]: https://gitlab.com/mjrider
92
[discord]: https://discord.gg/vhxWFfP
93
94
95
96
97
[gitlabci-shield]: https://img.shields.io/gitlab/pipeline/pipeline-components/jsonlint.svg
[gitlabci]: https://gitlab.com/pipeline-components/jsonlint/commits/master
[issue]: https://gitlab.com/pipeline-components/jsonlint/issues
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
[layers-shield]: https://images.microbadger.com/badges/image/pipelinecomponents/jsonlint.svg
Robbert Müller's avatar
Robbert Müller committed
98
[maintenance-shield]: https://img.shields.io/maintenance/yes/2021.svg
99
100
101
102
103
104
105
106
107
108
[microbadger]: https://microbadger.com/images/pipelinecomponents/jsonlint
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[pulls-shield]: https://img.shields.io/docker/pulls/pipelinecomponents/jsonlint.svg
[releases]: https://gitlab.com/pipeline-components/jsonlint/tags
[repository]: https://gitlab.com/pipeline-components/jsonlint
[semver]: http://semver.org/spec/v2.0.0.html
[version-shield]: https://images.microbadger.com/badges/version/pipelinecomponents/jsonlint.svg

[frenck]: https://github.com/frenck
[hassio-addons]: https://github.com/hassio-addons