Skip to content

Commit b6459b0

Browse files
authored
docs: note about plugin system (#5822)
1 parent a6d5fa6 commit b6459b0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/src/docs/contributing/new-linters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ Typically, these linters can't be open-sourced or too specific.
4343

4444
Such linters can be added through 2 plugin systems:
4545

46-
1. [Module Plugin System](/plugins/module-plugins)
46+
1. [Module Plugin System](/plugins/module-plugins) (Recommended)
4747
2. [Go Plugin System](/plugins/go-plugins)

docs/src/docs/plugins/go-plugins.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: Go Plugin System
33
---
44

5+
**We recommend using [Module Plugin System](/plugins/module-plugins) instead of the Go Plugin System.**
6+
7+
---
8+
59
Private linters can be added through [Go's plugin system](https://pkg.go.dev/plugin).
610

711
For a private linter (which acts as a plugin) to work properly,

0 commit comments

Comments
 (0)