diff --git a/checkers/commentFormatting_checker.go b/checkers/commentFormatting_checker.go index 513eb246d..74eff3b09 100644 --- a/checkers/commentFormatting_checker.go +++ b/checkers/commentFormatting_checker.go @@ -27,6 +27,7 @@ func init() { `^//line /.*:\d+`, // e.g.: line /path/to/file:123 `^//export \w+$`, // e.g.: export Foo `^//[/+#-]+.*$`, // e.g.: vertical breaker ///////////// + `^//noinspection `, // e.g.: noinspection ALL, some GoLand and friends versions } pat := "(?m)" + strings.Join(parts, "|") pragmaRE := regexp.MustCompile(pat)