Commit Graph

83 Commits

Author SHA1 Message Date
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Sven Rebhan 1041d331ae
chore(deps): Bump golangci-lint from v1.63.4 to v1.64.5 (#16512) 2025-02-18 09:23:28 -06:00
Sven Rebhan c38792949d
chore(inputs): Fix line-length in READMEs for `t` to `z` (#16485) 2025-02-06 14:11:18 -06:00
DmitryK 00106c9abb
feat(inputs.webhooks): Add support for GitHub workflow events (#16355)
Co-authored-by: dmitriy.krapivenko <dmitriy.krapivenko@aliexpress.ru>
2025-02-05 13:17:08 -06:00
Paweł Żak 4b49d9fbb9
chore: Fix linter findings for `revive:exported` in `plugins/inputs/webhooks/*` (#16411) 2025-01-22 18:08:13 +01:00
Paweł Żak b92700f98a
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[s-z]` (#16327) 2024-12-27 08:33:43 -06:00
Paweł Żak 8d282ab03a
chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[t-z]* and rest (#15879) 2024-09-16 11:59:39 -05:00
Paweł Żak 358224fa02
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[o-z]*` (#15857) 2024-09-12 15:59:30 -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
Viktor Szépe 31a1d34d99
chore: Fix typos throughout codebase (#15338) 2024-05-31 10:26:37 +02:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Paweł Żak 89a235c620
chore(linters): Enable perfsprint linter and fix all findings. (#14208) 2023-10-30 06:14:16 -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 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 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
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Joshua Powers fa26b6498b
docs: remove trailing whitespace (#12660) 2023-02-09 12:35:18 -07:00
Joshua Powers d5a101aff6
docs: remove whitespace (#12655) 2023-02-09 07:44:45 -07:00
Joshua Powers 2aa57f00ad
docs: Update all readme to pass linter (#12615) 2023-02-09 11:04:41 +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
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Paweł Żak b98a76372a
chore: wrap long lines in plugins/inputs/[t-z]* (#12218) 2022-11-10 11:41:43 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -06:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
sammcadams-8451 df6d4e7972
feat: Artifactory Webhook Receiver (#10918) 2022-05-16 14:20:54 -06:00
Sebastian Spaink 5676326ae9
chore(inputs): add descriptions to config in README.md (#10962) 2022-04-12 08:29:02 -05:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Alexander Krantz f76729cfb9
feat: HTTP basic auth for webhooks (#9332)
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
2022-03-04 09:51:01 -06:00
Paweł Żak 7aa6b533bd
fix: Linter fixes for plugins/inputs/[p-z]* (leftovers) (#10193)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 13:31:10 -06:00
Mya 7d3531a29b
chore: clean up markdown lint errors input plugins w to z (#10166) 2021-11-24 11:50:22 -07:00
Sam Arnold c4c32025c8
feat: more fields for papertrail event webhook (#9940) 2021-10-18 09:04:53 -05:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
David Bennett ef2def20dc
Delete log.Fatal calls and replace with error returns. (#9086)
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
2021-04-06 17:35:54 -04:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04: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 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
David Bennett d9f237759d
Use the 'measurement' json field from the particle webhook as the measurment name, or if it's blank, use the 'name' field of the event's json. (#8609) 2021-01-12 17:59:42 -05:00
Russ Savage 40c6d189fe
fix(readmes): standarize first line of readmes (#7973) 2020-08-11 16:10:41 -04:00
Russ Savage 75e701c288
fix(readmes): adding code block annotations (#7963) 2020-08-10 15:50:48 -04:00