summaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-04-02 11:27:13 +0200
committerGitHub <noreply@github.com>2024-04-02 11:27:13 +0200
commit1bff92c52b27b9a516599e172fe9852c3d99be38 (patch)
tree26b30b5ec1a5537dcafd806d23e03a062475705d /.golangci.yaml
parent362f7c9c45598b429c92e67756f41b690043e0c4 (diff)
chore: add linters and some lint fixes (#8)
* chore: add linters and some lint fixes Configure some golangci-lint linters to get the code quality right. Apply the first fixes. Next step will be to add github actions to run lint and tests in github CI. * chore: more lint, fixed comments and variable names. no semantic change. * chore: add Makefile This makefile is intended to be used as a local substitute to github actions.
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
new file mode 100644
index 0000000..64e12a5
--- /dev/null
+++ b/.golangci.yaml
@@ -0,0 +1,10 @@
+linters:
+ enable:
+ - gocritic
+ - godot
+ - gofumpt
+ - gosec
+ - misspell
+ - predeclared
+ - reassign
+ - revive