Skip to content

Commit

Permalink
golangci: remove exclude-dirs
Browse files Browse the repository at this point in the history
The action now runs config validation automatically [1], which fails on
our config because 'exclude-dirs' is not a valid top-level key.  Also,
we don't have a vendor directory any more so let's just drop it.

    golangci-lint --config ./.golangci.yml config verify
    jsonschema: "" does not validate with "/additionalProperties": additionalProperties 'exclude-dirs' not allowed
    Failed executing command with error: the configuration contains invalid elements

https://github.com/golangci/golangci-lint-action/releases/tag/v6.5.0
  • Loading branch information
achilleas-k committed Feb 17, 2025
1 parent 201158b commit f80b2c8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
---
exclude-dirs:
- vendor

linters-settings:
govet:
disable:
Expand Down

0 comments on commit f80b2c8

Please sign in to comment.