how to add eslint pre commit hook code example
Example: how to ushow to add hadolint as a pre-commit hook
- repo: https://github.com/petalmd/dockerfile-pre-commit
rev: '' # Use the revision rev you want to point at
hooks:
- id: dockerlint
- repo: https://github.com/petalmd/dockerfile-pre-commit
rev: '' # Use the revision rev you want to point at
hooks:
- id: dockerlint