lint

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 3 Imported by: 0

README

github.com/cccteam/ccc/lint

Setup

  1. Add a custom section to the linters-settings section of the project's .golangci.yml as such:
linters-settings:
  custom:
    ccclint:
      path: /lint/ccc-lint.so
      description: The description of the linter
      original-url: github.com/cccteam/ccc
  1. Add ccclint to linters.enable in the project's .golangci.yml.
linters:
  disable-all: true
  enable:
    - ccclint # Customer linter for CCC projects

Documentation

Overview

ccc-lint is a custom linter that checks if otel span names match function names.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳