The image is used in Drone CI builds for lint tests.
steps:
- name: lint
image: osshelp/drone-linter
steps:
- name: lint
image: osshelp/drone-linter
settings:
yml_files:
- file1.yml
- dir/file2.yml
sh_files:
- entrypoint.sh
dockerfiles:
- Dockerfile
markdown_files:
- README.md
python_files:
- test.py
json_files:
- file.json
steps:
- name: lint
image: osshelp/drone-linter
settings:
skip_yml: true
skip_sh: true
skip_dockerfile: true
skip_markdown: true
skip_python: true
skip_json: true
steps:
- name: lint
image: osshelp/drone-linter
settings:
exclude_regex: '(regex1|regex2)'
For internal purposes and OSSHelp customers we have an alternative image url:
image: oss.help/drone/linter
There is no difference between the DockerHub image and the oss.help/drone image.
- add warnings for disabled linters (skip_ options)