feat: support Module Plugin System (#1306)

This commit is contained in:
Ludovic Fernandez
2025-11-08 00:39:57 +01:00
committed by GitHub
parent a66d26a465
commit 043b1b8d1c
13 changed files with 20734 additions and 3090 deletions

View File

@@ -0,0 +1,25 @@
version: "2"
linters:
default: none
enable:
- example
settings:
custom:
example:
type: module
# Description is optional
description: The description of the linter. This is optional, but shows up when running `golangci-lint linters`.
# Original-url is optional, and is only used for documentation purposes.
original-url: github.com/golangci/example-plugin-module-linter
settings:
one: Foo
two:
- name: Bar
three:
name: Bar
issues:
max-issues-per-linter: 0
max-same-issues: 0