/tinkerbell-lint-install

Consistently install reasonable linter rules for open-source projects

Primary LanguageGoApache License 2.0Apache-2.0

lint-install

GoReport Widget

Install well-configured linters to your project in a consistent and repeatable way. This tool specifically supports creating and updating Makefile targets, and lints the following:

  • Go
  • Shell
  • Dockerfile

Philosophy

Catch as many errors as possible, but be idiomatic to the language.

Usage

go get github.com/tinkerbell/lint-install
$HOME/go/bin/lint-install <repo>

Options

  • --dry-run: Log what changes would be made if any
  • --shell=warn: Make shell warnings non-fatal
  • --dockerfile=warn: Make Dockerfile warnings non-fatal
  • --go=warn: Make Dockerfile warnings non-fatal