🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

github.com/cccteam/ccc/lint

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cccteam/ccc/lint

Source
Go Modules
Version
v0.0.3
Version published
Created
Source

github.com/cccteam/ccc/lint

This package provides custom linting rules for CCC projects. The install-ccc-linter utility builds and installs a custom golangci-lint binary with CCC's custom linters integrated.

Prerequisites

  • Make sure golangci-lint is installed, but VS Code should already have this taken care of

Setup

  • Install the install-ccc-linter utility.
go install github.com/cccteam/ccc/lint/cmd/install-ccc-linter@latest
  • Make sure your $GOPATH/bin is included in your $PATH.

  • Run the install-ccc-linter utility:

install-ccc-linter

You can also specify specific versions if needed:

# Specify plugin version
install-ccc-linter --plugin-version v0.0.3

# Specify both plugin and golangci-lint versions
install-ccc-linter --plugin-version v0.0.3 --golangci-lint-version v2.5.0
  • Add a custom section to the linters-settings section of the project's .golangci.yml as shown below.
linters:
  ...
  settings:
    ...
    custom:
      ccclint:
        type: module
        description: CCC custom linter
  • Update your project to use golang-ci.yml@v5.13.0 or greater and make sure golangci-lint-version is 'v2.4' or later. You can also set the ccclint-version.
golang-ci:
  uses: cccteam/github-workflows/.github/workflows/golang-ci.yml@v5.13.0
  with:
    build-tags: '["", "dev"]'
    golangci-lint-version: 'v2.4'
    ccclint-version: 'v0.0.3'
  • Ensure VSCode is configured to use the linter golangci-lint-v2.

  • Update your project's readme with the steps to install the lint plugin: Note: This should only need to be done at most every time you change your go version.

go install github.com/cccteam/ccc/lint/cmd/install-ccc-linter@latest
install-ccc-linter

FAQs

Package last updated on 03 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts