Commit Graph

14 Commits

Author SHA1 Message Date
c05f51b923
chore(deps): update golangci-lint rules
Some checks failed
continuous-integration/drone/pr Build is failing
2023-12-19 13:34:31 +01:00
Peter H0ffmann
ad04d302af chore: reverse the coupling of module log and config (#1606)
All checks were successful
continuous-integration/drone/push Build is passing
This way the config module can already use the log module with the same result (default logging to StdOut with Level INFO, same output as before) but ENV variables can already change the logging of config file related log output). It is now possible to dump as a cronjob without having to filter the default log about the used config file.

Also:
- all logging modules are now configurable when initializing which makes testing easier
- viper dependency removed from logging
- log correct settings when configured error level is invalid
- deprecation of value "false" for log.standard and log.events (already not mentioned in https://vikunja.io/docs/config-options/)

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Reviewed-on: vikunja/api#1606
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
Co-committed-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
2023-10-03 09:28:28 +00:00
29317b980e
fix: lint
Some checks failed
continuous-integration/drone/pr Build is failing
2023-08-29 11:32:45 +02:00
ef779e8730
fix: lint
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 19:10:32 +02:00
076e857507
chore: disable false-positive linter for generated docs
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-05 18:56:27 +02:00
9111db2a16
fix: lint config 2023-05-24 15:52:32 +02:00
ebc3dd2b3e
fix: lint errors 2023-05-24 15:51:57 +02:00
a0b3a444df
fix(lint): disable misspell linter on redoc
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-18 09:55:18 +01:00
fdbe110945
chore(deps): upgrade golangci-lint to 1.51.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 11:16:07 +01:00
5cf263a86f
feat: upgrade golangci-lint to 1.45.2
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-27 16:55:37 +02:00
0ab9ce9ec4 Add events (#777)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#777
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-02 22:48:37 +00:00
456af4d4a9
Fix go header lint
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-29 02:04:20 +01:00
9252225d7f
Disable gocyclo for migration modules
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-10-13 08:05:55 +02:00
699d3d6060 Add Golangci Lint (#676)
All checks were successful
continuous-integration/drone/push Build is passing
Increase golangci timeout

Fix installing golangci-lint in ci

Remove mage targets replaced by golangci

Run golint in ci

Add goheader linter

Enable & fix more linters

Fix lint issues

Add mage target to automagically fix issues found by golangci

golangci-lint run --fix

Add golangci config

Add golangci mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#676
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 20:10:03 +00:00