You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `golangci-lint` binary no longer uses vendoring, and no longer has a `make vendor_free_build` command. This updates the README.md to no longer use that command. The default build now works correctly for custom linters.
2. From the projects root directory, run `make vendor_free_build`
20
+
2. From the projects root directory, run `make`
19
21
3. Copy the `golangci-lint` executable that was created to your path, project, or other location
20
22
21
23
### Configure Your Project for Linting
22
24
23
-
If you already have a linter plugin available, you can follow these steps to define it's usage in a projects
24
-
`.golangci.yml` file. An example linter can be found at [here](https://github.com/golangci/example-plugin-linter). If you're looking for
25
-
instructions on how to configure your own custom linter, they can be found further down.
25
+
If you already have a linter plugin available, you can follow these steps to define its usage in a projects
26
+
`.golangci.yml` file. If you're looking for instructions on how to configure your own custom linter, they can be found
27
+
further down.
26
28
27
-
1. If the project you want to lint does not have one already, copy the [.golangci.yml](https://github.com/golangci/golangci-lint/blob/master/.golangci.yml) to the root directory.
29
+
1. If the project you want to lint does not have one already, copy the [.golangci.yml](https://github.com/golangci/golangci-lint/blob/master/.golangci.yml)
30
+
to the root directory.
28
31
2. Adjust the yaml to appropriate `linters-settings:custom` entries as so:
0 commit comments