Skip to content

Commit

Permalink
Update not found url in new-linters.mdx (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
momotaro98 committed May 30, 2020
1 parent f3376ca commit b8216ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/contributing/new-linters.mdx
Expand Up @@ -76,7 +76,7 @@ type AnalyzerPlugin interface {
```

The type of `AnalyzerPlugin` is not important, but is by convention `type analyzerPlugin struct {}`. See
[plugin/example.go](https://github.com/golangci/example-plugin-linter/plugin/example.go) for more info.
[plugin/example.go](https://github.com/golangci/example-plugin-linter/blob/master/plugin/example.go) for more info.

To build the plugin, from the root project directory, run `go build -buildmode=plugin plugin/example.go`. This will create a plugin `*.so`
file that can be copied into your project or another well known location for usage in golangci-lint.

0 comments on commit b8216ca

Please sign in to comment.