Skip to content
Snippets Groups Projects
Commit b941208f authored by Fabian Seidl's avatar Fabian Seidl
Browse files

Resolve "Fix deprecated options run.skip-files and run.skip-dirs in golangci-lint"

See merge request !892
parent 8b14eb0a
No related branches found
No related tags found
1 merge request!892Resolve "Fix deprecated options run.skip-files and run.skip-dirs in golangci-lint"
Pipeline #200567 passed
# tooling # tooling
**/build-tools/ **/build-tools/
artifacts/ artifacts/
gl-codeclimate.json
# containerlab # containerlab
clab-gosdn*/ clab-gosdn*/
......
...@@ -5,21 +5,7 @@ run: ...@@ -5,21 +5,7 @@ run:
concurrency: 8 concurrency: 8
timeout: 20m timeout: 20m
issues-exit-code: 1 issues-exit-code: 1
# directories to be ignored by linters
skip-dirs:
- api/
- artifacts/
- controller/test
- controller/mocks
- models/
- forks/
- plugins/examples/
- clab-gosdn_csbi_arista_base/
# ignore csbi, since we do not maintain it at the moment
- csbi/
skip-dirs-default: true skip-dirs-default: true
skip-files:
- http.go
modules-download-mode: readonly modules-download-mode: readonly
# output settings -> code-climate for GitLab # output settings -> code-climate for GitLab
...@@ -37,6 +23,20 @@ issues: ...@@ -37,6 +23,20 @@ issues:
exclude-use-default: false exclude-use-default: false
max-issues-per-linter: 0 max-issues-per-linter: 0
max-same-issues: 0 max-same-issues: 0
exclude-files:
- http.go
# directories to be ignored by linters
exclude-dirs:
- api/
- artifacts/
- controller/test
- controller/mocks
- models/
- forks/
- plugins/examples/
- clab-gosdn_csbi_arista_base/
# ignore csbi, since we do not maintain it at the moment
- csbi/
linters: linters:
# enable the specific needed linters # enable the specific needed linters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment