Add Regx policy generation to AI #371
Annotations
2 errors and 2 warnings
lint:
pkg/regx/regx.go#L65
S1008: should use 'return !scanForPattern(string(content), patterns)' instead of 'if scanForPattern(string(content), patterns) { return false }; return true' (gosimple)
|
lint
issues found
|
lint
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|
lint
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|