Integrates the typos spell checker tool into CI to automatically catch typographical errors in code and documentation.
Closes #6532
.github/workflows/typos.yml GitHub Actions workflow using crate-ci/typos@v1.43.5_typos.toml configuration to handle false positivesdev/main branches, PRs to dev, and manual dispatchThe _typos.toml handles the following false positives:
Excluded files:
pkg/input/formats/testdata/, pkg/protocols/common/helpers/deserialization/testdata/)pkg/output/stats/waf/regexes.json)pkg/testutils/integration.go)Allowed identifiers: Code variable/field names that look like typos but are intentional (e.g., fo, Splitted, ExludedDastTmplStats, PostReuestsHandlerRequest)
Allowed words: CLI flag abbreviations (-ines, -ine, -ot, -hae, -ue), external dependency types (AllowdTypes), test data values, and SQL keyword fragments in integration tests
The typos checker passes cleanly with zero errors after configuration:
$ typos --format brief
$ echo $?
0
typos runs cleanly (exit code 0) with the _typos.toml configuration/claim #6532
285729101
@285729101
cryptoaibot1738728800
@cryptoaibot1738728800
ProjectDiscovery
@projectdiscovery