Skip to content

codeGROOVE-dev/lint-install

 
 

Repository files navigation

lint-install

GoReport Widget stability-stable

Automated linter installation and configuration for consistent code quality across teams and environments.

Quick Start

# Install
go install github.com/codeGROOVE-dev/lint-install@latest

# Add linters to your project
lint-install .

# Run linters
make lint

# Auto-fix issues
make fix

Why Use It?

  • One command setup - Adds industry-standard linters instantly
  • Version pinning - Same linter versions for everyone
  • Battle-tested configs - Opinionated rules that catch real bugs
  • Multi-environment - Works locally, in CI/CD, and IDEs

Supported Languages

  • Go - golangci-lint
  • Shell - shellcheck
  • Dockerfile - hadolint
  • YAML - yamllint
  • Web (JS/TS/HTML/CSS/JSON) - biome

Usage Examples

# Basic usage
lint-install .
make lint

# Auto-fix all fixable issues
make fix

# CI/CD (GitHub Actions)
- run: make lint-install
- run: make lint

What Gets Added

  • Makefile targets: lint, fix, lint-<language>, lint-install
  • Config files: Only for languages detected in your project
    • .golangci.yml (Go files)
    • .yamllint (YAML files)
    • biome.json (JS/TS/HTML/CSS/JSON files)
  • Linter binaries: ./out/linters/ (git-ignored)

Contributing

Contributions welcome! Submit issues or pull requests.

License

See LICENSE for details.

About

Consistently install reasonable linter rules for open-source projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 62.0%
  • Makefile 22.4%
  • Shell 13.6%
  • JavaScript 1.1%
  • Dockerfile 0.9%