Commit Graph

84 Commits

Author SHA1 Message Date
Paweł Żak a0755797f5
chore(linters): Enable `time-equal` rule for revive (#15838) 2024-09-05 11:19:17 -05:00
Paweł Żak 0eaa8bdbe6
chore(linters): Enable G405, G406, G506 and G507 rules for gosec (#15835) 2024-09-04 11:10:46 -05:00
Paweł Żak e5c7c5e061
chore(linters): Enable `optimize-operands-order` rule for revive (#15839) 2024-09-04 11:02:50 -05:00
Paweł Żak 88bca70dfd
test(linters): Enable `testifylint`: `formatter`, `suite-broken-parallel` and `suite-subtest-run` (#15797) 2024-09-03 11:40:34 -05:00
Sven Rebhan b2967cb515
chore: Update go to v1.23.0 (#15766)
Co-authored-by: Pawel Zak <pawel.zak.pawel@gmail.com>
2024-08-30 14:23:51 -05:00
Dane Strandboge 19737fcb52
chore(linters): Fix remaining errcheck warnings (#15518)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-07-10 12:51:25 +02:00
Paweł Żak 1422c09294
test(linters): Enable `testifylint`: `blank-import`, `float-compare`, `negative-positive`, `nil-compare` and `useless-assert` (#15566) 2024-07-01 15:00:13 +02:00
Paweł Żak 78cbf533d2
test(linters): Enable copyloopvar (#15532) 2024-06-20 15:43:02 -05:00
Joshua Powers 274cd1b3a8
test(lint): Enable badSyncOnceFunc (#15511) 2024-06-17 16:24:01 +02:00
Joshua Powers f55e02e8fd
test(linters): Enable sloppyLen (#15512) 2024-06-17 16:23:32 +02:00
Joshua Powers 7037429e6a
test(lint): Enable mirror (#15510) 2024-06-17 16:21:30 +02:00
Dane Strandboge 28543bae7c
chore(linters): Fix non-input/output plugin errcheck warnings (#15472) 2024-06-12 07:52:42 -06:00
Paweł Żak 28f6396348
chore(linters): Bump golangci-lint to v1.59.1 (#15478) 2024-06-11 10:38:08 +02:00
Dane Strandboge 612b5ad8b1
chore: Fix errcheck CI warnings outside of plugins directory (#15390) 2024-06-04 10:33:37 +02:00
Paweł Żak 0f87501d0a
chore(linters): Bump golangci-lint to v1.57.2 (#15080) 2024-03-29 12:27:10 -06:00
Joshua Powers 1e85ccc3eb
chore(lint): Add gosec G602 - slice out of bounds (#14927) 2024-03-04 15:10:02 -06:00
Paweł Żak 6506eecc9b
chore(linters): Bump golangci-lint to v1.56.0 (#14742) 2024-02-12 08:47:15 -06:00
Paweł Żak 5810a9e4e5
chore(linters): Enable `appendCombine` checker for gocritic (#14451) 2024-01-03 07:16:26 -07:00
Paweł Żak 3005d99f71
chore(linters): Enable more checkers for gocritic (#14449) 2024-01-02 12:29:04 +01:00
Paweł Żak e48b72f965
chore(linters): Enable rangeValCopy and hugeParams checkers for gocritic (#14454) 2023-12-15 07:36:34 -07:00
Paweł Żak 4ad8f6b814
chore(linters): Enable `preferDecodeRune` and `preferFprint` checkers for gocritic (#14453) 2023-12-15 07:01:25 -07:00
Paweł Żak 3786cf2d72
chore(linters): Enable equalFold, preferStringWriter, and stringXbytes checkers for gocritic. (#14452) 2023-12-15 06:25:10 -07:00
Joshua Powers 5505a2150a
chore: Enable bad regex gocritic linter (#14295) 2023-11-15 12:35:41 -07:00
Paweł Żak 7da8956434
chore(linters): Fix findings found by testifylint for Windows and enable it. (#14238) 2023-11-02 06:40:30 -06:00
Paweł Żak 89a235c620
chore(linters): Enable perfsprint linter and fix all findings. (#14208) 2023-10-30 06:14:16 -06:00
Joshua Powers 1e42262184
feat(cli): Add plugins subcommand to list available and deprecated (#13787) 2023-08-29 16:05:34 +02:00
Paweł Żak 5661341813
chore: Enable filepathJoin checker for gocritic (#13758)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Joshua Powers 2ac45b8d25
chore: Enable additional gocritic (#13714) 2023-08-03 18:58:27 +02:00
Joshua Powers 0f8957f0e9
chore: Resolves gocritic sloppyReassign (#13712) 2023-08-03 18:57:18 +02:00
Joshua Powers f39a21121d
chore: Enable additional gocritic options (#13711) 2023-08-03 17:07:48 +02:00
Joshua Powers 564f24a0a4
chore: Enable additional gocritic (#13713) 2023-08-03 16:11:26 +02:00
Joshua Powers 51d732ea9c
chore: Update golanglint-ci (#13445) 2023-06-14 21:38:04 +02:00
Paweł Żak 02f0b15033
chore: Enable dynamicFmtString and sprintfQuotedString checkers for gocritic (#13279)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-06-09 10:11:52 +02:00
Paweł Żak 727533ee55
chore: Enable deferInLoop, exitAfterDefer and unnecessaryDefer checkers for gocritic (#13280)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-05-19 09:55:08 +02:00
Paweł Żak 90e2802e54
chore: Enable gocritic with initial set of rules (#13247) 2023-05-17 10:30:10 -06:00
Paweł Żak 200c9e5684
chore: Finish gosec activities (#13222) 2023-05-02 17:40:37 +02:00
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
Paweł Żak 77ee21f8e5
chore: Fix linter findings for Windows (part1) (#13057) 2023-04-25 07:15:55 -06:00
Paweł Żak ba16eeb495
chore: Enable G110 rule for gosec (#13044)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-14 17:14:55 +02:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Paweł Żak 35edd1863f
chore: Enable G303 and G305 rules for gosec (#13039) 2023-04-05 06:31:23 -06:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
Paweł Żak 079c50128b
chore: Enable G401, G403, G501, G502, G503 and G505 rules for gosec (#13021)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-04 13:17:38 +02:00
Paweł Żak 2320bbd1a8
chore: Enable G101 rule for gosec (#13009)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 20:31:08 +02:00
Paweł Żak 0754247d79
chore: Enable G107 rule for gosec (#13010)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 20:29:58 +02:00
Paweł Żak edcd28650c
chore: Enable G112 and G114 rules for gosec (#12986)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:23:05 +02:00
Paweł Żak 0de59d48ec
chore: Enable G202 rule for gosec (#12984)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:21:26 +02:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00