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
Paweł Żak
9608d118bd
chore: Don't use all default exclude patterns for golangci-lint ( #12969 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Paweł Żak
0129abbd1e
chore: Enable G102 rule for gosec ( #12976 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:47:57 +02:00
Paweł Żak
d14ea26100
chore: Enable G106, G108, G109, G111, G201, G203 rules for gosec ( #12956 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-28 11:44:03 +02:00
Paweł Żak
360edd52b6
chore: Fix linter findings for errorlint (part8) ( #12785 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-06 12:27:03 +01:00
Paweł Żak
1260b4523b
chore: Fix linter findings for tenv ( #12622 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:12:42 +01:00
Paweł Żak
9a0cecc788
chore: Fix linter findings for nolintlint (part3) ( #12613 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:06:12 +01:00
Paweł Żak
17c77df228
chore: Bump golangci-lint from v1.50.1 to v1.51.0 ( #12605 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-03 10:27:47 +01:00
Paweł Żak
473aa0de17
chore: Lint whole codebase both in PR and master branch ( #12590 )
2023-02-02 14:16:21 +01:00
Paweł Żak
86cd0c0c24
chore: Fix linter findings for makezero (part4) ( #12410 )
2022-12-20 11:42:09 +01:00
Paweł Żak
960a1f7b14
chore: Fix linter findings for prealloc (part3) ( #12246 )
2022-11-21 21:53:55 +01:00
Paweł Żak
e84df8983a
chore: Fix linter findings for errname ( #12253 )
2022-11-21 21:11:07 +01:00
Paweł Żak
0c5d8de5e2
chore: enable lll linter ( #12226 )
2022-11-11 08:17:15 -07:00
Paweł Żak
b83bdd5eac
chore: enable interfacebloat linter ( #12174 )
2022-11-10 11:41:11 -07:00
Paweł Żak
6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter ( #12150 )
2022-11-08 12:04:12 -07:00
Paweł Żak
6659e3d62a
chore: Use depguard instead of revive.imports-blacklist ( #12153 )
2022-11-07 11:34:05 +01:00
Paweł Żak
0955bd714f
chore: Enable asciicheck, asasalint, bidichk and exportloopref linters ( #12169 )
2022-11-07 11:07:10 +01:00
Paweł Żak
ccf3b1affe
chore: Enable tparallel linter ( #12175 )
2022-11-07 11:06:00 +01:00
Paweł Żak
9d9eb403a6
chore: Review of //nolint comments ( #12088 )
2022-10-26 12:06:08 +02:00
Paweł Żak
9ff5cda6e8
chore: Resolve linter issues for plugins/common package ( #11964 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Thomas Casteleyn
aa2d4d12c7
chore(lint): Removed deprecated varcheck linter ( #11910 )
2022-09-30 07:26:10 -06:00
Sebastian Spaink
a57434eb4e
feat: Migrate to urfave/cli ( #11700 )
2022-08-24 21:46:58 -05:00
Sven Rebhan
f1ce84f02d
feat: tool to build custom Telegraf builds ( #11524 )
2022-08-19 13:38:03 -06:00
Sven Rebhan
e2578462a5
fix(inputs): Linter issues ( #11576 )
2022-08-02 13:52:17 +02:00
Paweł Żak
f3904d3e2a
fix: Linter fixes for config/config.go ( #10710 )
2022-02-22 18:47:04 -07:00
Paweł Żak
1143a50da3
chore: Forbids "log" package only for aggregators, inputs, outputs, parsers and processors ( #10191 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-12-03 11:50:51 -06:00
Joshua Powers
b4cafff535
fix: remove telegraflinter from in-tree ( #10053 )
2021-11-03 16:11:47 -06:00
Sebastian Spaink
a4d8a4b84f
chore: lint ignore fmt.Printf unhandled error ( #9967 )
2021-10-21 14:22:56 -05:00
Paweł Żak
9a794919e3
Linter fixes for plugins/inputs/[de]* ( #9379 )
2021-06-21 10:07:52 -05:00
Sebastian Spaink
598990b469
Private linter for Telegraf ( #9168 )
...
* Custom linter
* Telegraf private linter
Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-04-26 16:12:58 -05:00
Steven Soroka
9c54c8e233
new linter commands ( #9020 )
2021-03-30 13:11:31 -05:00
Paweł Żak
74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused ( #8984 )
...
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* "nolint"'s removed
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Paweł Żak
9ddd189cd3
Proposal of enabled linters and their settings. ( #8951 )
...
* Proposal of enabled linters and their settings.
* Workaround to skip weird "plugins/parsers/influx/plugins/parsers/influx" directory
* Update to reflect changes in github actions
* Back to the last state
* Fix
Co-authored-by: Pawel Zak <Pawel Zak>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-12 12:14:31 -06:00