-
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.
- Loading branch information
1 parent
1b6a671
commit 3097aeb
Showing
1 changed file
with
56 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing linter cfnlint test basic 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "E3030", | ||
"column": "7", | ||
"file": "test_data/basic.in.yaml", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"issueUrl": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/rules.md", | ||
"level": "LEVEL_HIGH", | ||
"line": "19", | ||
"linter": "cfnlint", | ||
"message": "'DNSS' is not one of ['EMAIL', 'DNS']", | ||
"targetType": "cloudformation", | ||
}, | ||
{ | ||
"code": "E3012", | ||
"column": "7", | ||
"file": "test_data/basic.in.yaml", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"issueUrl": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/rules.md", | ||
"level": "LEVEL_HIGH", | ||
"line": "21", | ||
"linter": "cfnlint", | ||
"message": "'*.test.io' is not of type 'array'", | ||
"targetType": "cloudformation", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "cloudformation", | ||
"linter": "cfnlint", | ||
"paths": [ | ||
"test_data/basic.in.yaml", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "cloudformation", | ||
"linter": "cfnlint", | ||
"paths": [ | ||
"test_data/basic.in.yaml", | ||
], | ||
"upstream": true, | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [], | ||
} | ||
`; |