-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Toolbox defintion and version number updates (#912)
1. Toolbox supports caching so better to take advantage of that 2. Revs to latest release version of toolbox
- Loading branch information
1 parent
2fcbf62
commit b4922de
Showing
2 changed files
with
101 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
linters/trunk-toolbox/test_data/trunk_toolbox_v0.5.3_do_not_land.check.shot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Testing linter trunk-toolbox test do_not_land 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "do-not-land", | ||
"column": "3", | ||
"file": "test_data/do_not_land.in.txt", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"level": "LEVEL_HIGH", | ||
"line": "1", | ||
"linter": "trunk-toolbox", | ||
"message": "Found 'DONOTLAND'", | ||
"ranges": [ | ||
{ | ||
"filePath": "test_data/do_not_land.in.txt", | ||
"length": "9", | ||
"offset": "2", | ||
}, | ||
], | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "do-not-land", | ||
"column": "3", | ||
"file": "test_data/do_not_land.in.txt", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"level": "LEVEL_HIGH", | ||
"line": "2", | ||
"linter": "trunk-toolbox", | ||
"message": "Found 'do-not-land'", | ||
"ranges": [ | ||
{ | ||
"filePath": "test_data/do_not_land.in.txt", | ||
"length": "11", | ||
"offset": "14", | ||
}, | ||
], | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "do-not-land", | ||
"column": "3", | ||
"file": "test_data/do_not_land.in.txt", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"level": "LEVEL_HIGH", | ||
"line": "3", | ||
"linter": "trunk-toolbox", | ||
"message": "Found 'do_not_land'", | ||
"ranges": [ | ||
{ | ||
"filePath": "test_data/do_not_land.in.txt", | ||
"length": "11", | ||
"offset": "28", | ||
}, | ||
], | ||
"targetType": "ALL", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "trunk-toolbox", | ||
"paths": [ | ||
"test_data/do_not_land.in.txt", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "trunk-toolbox", | ||
"paths": [ | ||
"test_data/do_not_land.in.txt", | ||
], | ||
"upstream": true, | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [], | ||
} | ||
`; |