Sign inSign up

schaefj/linter

By schaefj

Updated 4 months ago

Collection of functional linter executables (yamllint, tflint, shfmt, stylelint, eslint, etc.)

Image
0

10K+

schaefj/linter repository overview

Prerequisites

Copy these files to the base directory of your git repo:

  1. linter.rc
  2. linter.sh

Options

  1. replace git commit -a ... workflow with gac alias
  2. install pre-commit hook
alias gac='git add -u && git commit'
./linter.sh install

.gitlab-ci.yml integration

linter:
  variables:
    DOCKER_TLS_CERTDIR: /certs
  image: docker:20.10.16
  services:
    - docker:20.10.16-dind
  stage: test
  allow_failure: true
  script:
    - "LANG=en_US.UTF-8 docker run -t --rm -v $(pwd):/src:ro schaefj/linter"

Tag summary

Content type

Image

Digest

sha256:d05d449b1

Size

4.4 GB

Last updated

4 months ago

docker pull schaefj/linter