aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-linter
diff options
context:
space:
mode:
Diffstat (limited to 'tools/syz-linter')
-rw-r--r--tools/syz-linter/linter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-linter/linter.go b/tools/syz-linter/linter.go
index 3afc84ca4..52da71b1f 100644
--- a/tools/syz-linter/linter.go
+++ b/tools/syz-linter/linter.go
@@ -145,7 +145,7 @@ var (
noPeriodComment = regexp.MustCompile(`^// [A-Z][a-z].+[a-z]$`)
lowerCaseComment = regexp.MustCompile(`^// [a-z]+ `)
onelineExceptions = regexp.MustCompile(`// want \"|http:|https:`)
- specialComment = regexp.MustCompile(`//go:generate|//go:build|// nolint:`)
+ specialComment = regexp.MustCompile(`//go:generate|//go:build|//go:embed|// nolint:`)
)
// checkStringLenCompare checks for string len comparisons with 0.