diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..4ad9dfc --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,3 @@ +linters: + enable: + - gofmt diff --git a/test.sh b/test.sh index beb595b..cbfed23 100755 --- a/test.sh +++ b/test.sh @@ -11,11 +11,11 @@ echo Building sources... ./build.sh # Linting -echo 'Linting, repro any errors locally using "golangci-lint run --enable gofmt"...' +echo 'Linting, repro any errors locally using "golangci-lint run"...' echo ' Linting without tests...' -golangci-lint run --tests=false --enable gofmt +golangci-lint run --tests=false echo ' Linting with tests...' -golangci-lint run --tests=true --enable gofmt +golangci-lint run --tests=true # Unit tests echo "Running unit tests..."