Welcome to the golangci‐lint wiki! - nodoubtz/golangci-lint GitHub Wiki


Project: Fast Linters Runner for Go

Description

Repository: nodoubtz/golangci-lint
Description: Fast linters runner for Go.

Language Composition

  • Go: 98.1%
  • Shell: 1.5%
  • Other: 0.4%

Getting Started

Prerequisites

Ensure you have the following installed:

  • Go (version 1.16 or later)
  • Git

Installation

Clone the repository:

git clone https://github.com/nodoubtz/golangci-lint.git
cd golangci-lint

Build the project:

go build -o golangci-lint

Usage

Run the linter on your Go project:

./golangci-lint run

Configuration

You can configure the linter by creating a .golangci.yml file in your project's root directory. Here is an example configuration:

run:
  timeout: 5m
linters:
  enable:
    - errcheck
    - govet
    - staticcheck

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes.
  4. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

If you have any questions or need support, please open an issue in the issue tracker.


Let me know if you need any additional information or modifications!