lint-install

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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.

Documentation

Overview

Package main provides a tool to automatically install and configure linters in Go projects.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址