mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-01-16 04:14:30 +07:00
chore: move samples into fixtures (#1321)
This commit is contained in:
committed by
GitHub
parent
aa6fad0ea0
commit
5a9289952f
25
fixtures/plugins/.golangci.yml
Normal file
25
fixtures/plugins/.golangci.yml
Normal 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
|
||||
Reference in New Issue
Block a user