diff --git a/linters/semgrep/test_data/semgrep_v1.118.0_CUSTOM.check.shot b/linters/semgrep/test_data/semgrep_v1.118.0_CUSTOM.check.shot new file mode 100644 index 000000000..e933d1619 --- /dev/null +++ b/linters/semgrep/test_data/semgrep_v1.118.0_CUSTOM.check.shot @@ -0,0 +1,126 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP +// trunk-upgrade-validation:RELEASE + +exports[`Testing linter semgrep test CUSTOM 1`] = ` +{ + "issues": [], + "lintActions": [ + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/basic.go", + ], + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/element.ts", + ], + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/empty_go.go", + ], + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/empty_js.js", + ], + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/empty_py.py", + ], + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/request.py", + ], + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/basic.go", + ], + "upstream": true, + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/element.ts", + ], + "upstream": true, + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/empty_go.go", + ], + "upstream": true, + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/empty_js.js", + ], + "upstream": true, + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/empty_py.py", + ], + "upstream": true, + "verb": "TRUNK_VERB_CHECK", + }, + { + "command": "check", + "fileGroupName": "ALL", + "linter": "semgrep", + "paths": [ + "test_data/request.py", + ], + "upstream": true, + "verb": "TRUNK_VERB_CHECK", + }, + ], + "taskFailures": [], + "unformattedFiles": [], +} +`;