mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-17 20:17:01 +00:00
simplify linter settings
This commit is contained in:
parent
19440f2486
commit
769e1a7e1a
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
@ -18,8 +18,3 @@ jobs:
|
||||
- uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.33
|
||||
args: >
|
||||
--disable=errcheck
|
||||
--enable=gofmt
|
||||
--enable=golint
|
||||
--enable=misspell
|
||||
|
8
.golangci.yml
Normal file
8
.golangci.yml
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
linters:
|
||||
disable:
|
||||
- errcheck
|
||||
enable:
|
||||
- gofmt
|
||||
- golint
|
||||
- misspell
|
6
Makefile
6
Makefile
@ -57,11 +57,7 @@ test-nodocker:
|
||||
lint:
|
||||
docker run --rm -v $(PWD):/app -w /app \
|
||||
golangci/golangci-lint:v1.33.0 \
|
||||
golangci-lint run -v \
|
||||
--disable=errcheck \
|
||||
--enable=gofmt \
|
||||
--enable=golint \
|
||||
--enable=misspell
|
||||
golangci-lint run -v
|
||||
|
||||
stress:
|
||||
docker build -q . -f stress/$(NAME)/Dockerfile -t temp
|
||||
|
Loading…
Reference in New Issue
Block a user