feat: add golangci-lint and restore megalinter config (#22)

* feat: add golangci-lint and restore megalinter config

* chore: fix linting, go mod tidy

* fix(ci): add golangci-lint action setup to test.yml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: tweaks

* fix(ci): tweaks

* fix(ci): disable go_golangci_lint in megalinter

* chore: yamllint rules

* chore(ci): tweak yml

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
2025-07-15 17:49:15 +03:00
committed by GitHub
parent a09f3e358b
commit ffb5da2a8e
12 changed files with 95 additions and 98 deletions

20
.yamllint.yml Normal file
View File

@@ -0,0 +1,20 @@
---
extends: relaxed
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'
ignore-from-file: .gitignore
rules:
empty-lines:
max: 1
max-start: 0
max-end: 1
line-length:
max: 100
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: false