Skip to content

Commit

Permalink
Revert "ci: golangci lint extension"
Browse files Browse the repository at this point in the history
This reverts commit 9630ca6.
  • Loading branch information
Azanul committed Nov 13, 2023
1 parent 96f2163 commit 3704017
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
7 changes: 0 additions & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
},
"customizations": {
"vscode": {
"settings": {
"go.lintTool": "golangci-lint",
"go.lintFlags": [
"--fast",
"--config=.golangci.yml"
]
},
"extensions": [
"golang.go-nightly",
"bradlc.vscode-tailwindcss"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --config=.golangci.yml
args: --timeout=10m
version: v1.54.2
skip-pkg-cache: true
14 changes: 1 addition & 13 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
run:
timeout: 10m
timeout: 5m
skip-dirs:
- dashboard
- docs

linters:
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
- bodyclose
- goerr113
- gosec
- gosmopolitan
- prealloc
- reassign

0 comments on commit 3704017

Please sign in to comment.