1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
ccoVeille
a3338de10b chore: enable thelper linter in golangci-lint (#1386)
It allows us to report errors at the right place in the tests.

There was only one function that was not using the helper.
It has been fixed to use it.
2025-05-27 07:41:11 +02:00
Oleksandr Redko
e8ed573739 refactor: enable gocritic linter; fix lint issues (#1375) 2025-05-26 02:40:17 -07:00
Oleksandr Redko
7b2c7e74fc test: split TestGetVersion; remove toolchain (#1303) 2025-04-10 07:54:40 +02:00
Oleksandr Redko
9177f5044a test: re-enable and fix test case for getVersion (#1246) 2025-02-21 17:33:13 +01:00
chavacava
4020f4387e fix: exclusions are no longer working as before (#1237)
* fix: exclusions are no longer working as before (fixed by reverting #1060)

* removes failing test on main.GetVersion
2025-02-13 14:38:55 +01:00
Semih Buyukgungor
5f01efa722 feature: add redundant-test-main-exit rule (#1208) 2025-01-29 14:36:00 +01:00
Oleksandr Redko
4ca2c11e87 refactor: get rid of mitchellh/go-homedir package (#1195) 2024-12-24 15:34:17 +01:00
Oleksandr Redko
93c6bc8636 refactor: extract getVersion function (#1127)
Co-authored-by: chavacava <salvador.cavadini@gmail.com>
2024-11-18 14:45:28 +01:00
Oleksandr Redko
ce6965265a fix: cli tests on Windows; add tests-on-windows workflow 2024-11-15 09:39:39 +01:00
Oleksandr Redko
78c3a6c363 chore: enable test shuffle and fix TestXDGConfigDirNoFile 2024-11-07 09:00:51 -03:00
Oleksandr Redko
599874c773 chore: remove unnecessary empty lines (#1080) 2024-10-26 07:35:02 -03:00
Oleksandr Redko
29ba247979 cli: refactor tests: use TestMain, t.Setenv (#931) 2023-11-02 17:07:46 +01:00
Marcin Federowicz
cd2737acb4 Load config from different locations prefer XDG_CONFIG_HOME before HOME (#912) 2023-10-03 20:07:00 +02:00