crowdsec/pkg/exprhelpers
mmetc b93b240bd4
lint: enable (some) gocritic checks (#3238)
* lint: gocritic configuration
* lint: octal literals
* lint: gocritic (filepath.Join)
* ling: gocritic (badRegexp, regexpSimplify)
* lint: gocritic (preferStringWriter)
* lint: gocritic (emtpyStringTest)
* filepath.Clean(a+b) -> filepath.Join(a, b)
* gofumpt
2024-09-17 17:07:30 +02:00
..
tests skip empty lines to avoid issue of #630 (#631) 2021-02-25 09:57:24 +01:00
crowdsec_cti.go lint: import statement order (#3085) 2024-06-26 12:16:17 +02:00
crowdsec_cti_test.go Typos (#3084) 2024-06-13 11:07:44 +02:00
debugger.go lint: enable (some) gocritic checks (#3238) 2024-09-17 17:07:30 +02:00
debugger_test.go refact: reduce code nesting (acquisition/file, tests) (#3200) 2024-09-03 12:25:30 +02:00
expr_lib.go lint: import statement order (#3085) 2024-06-26 12:16:17 +02:00
exprlib_test.go update expr (#3144) 2024-07-22 12:14:46 +02:00
geoip.go Appsec: properly populate event (#2943) 2024-05-27 10:15:38 +02:00
helpers.go lint: enable (some) gocritic checks (#3238) 2024-09-17 17:07:30 +02:00
jsonextract.go lint: import statement order (#3085) 2024-06-26 12:16:17 +02:00
jsonextract_test.go update expr (#3144) 2024-07-22 12:14:46 +02:00
libinjection.go add libinjection expr helpers (#2914) 2024-03-21 11:39:37 +01:00
libinjection_test.go add libinjection expr helpers (#2914) 2024-03-21 11:39:37 +01:00
strings.go add a LogInfo expr helper (#2179) 2023-05-03 10:07:11 +02:00
xml.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00
xml_test.go tests: log.Fatal -> return err (#3056) 2024-06-05 11:04:54 +02:00