Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

:lint

Linting toolbox. Inherits all :core tools.

Base

FROM ghcr.io/driftsys/dock:core (via build context)

Installed tools

ToolInstall methodPurpose
shellcheckapkShell script linter
editorconfig-checkerapkEditorConfig rule checker
git-stdbinary (GitHub releases)Conventional commits + git hooks

Platform note

git-std releases only provide a Linux x86_64 binary. This image is therefore built for linux/amd64 only.

Usage in CI

jobs:
  lint:
    runs-on: ubuntu-latest
    container: ghcr.io/driftsys/dock:lint
    steps:
      - uses: actions/checkout@v4
      - run: shellcheck scripts/*.sh
      - run: editorconfig-checker
      - run: git std check

Build arguments

ArgumentDefaultDescription
GIT_STD_VERSION0.7.0git-std release to install

Approximate size

~44 MB (Alpine, linux/amd64 only)