From 537e014fe6deb57075c7b34df5fcf4ebff24d3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berk=20G=C3=BCler?= Date: Sat, 10 Jun 2023 21:15:30 +0300 Subject: [PATCH] feat(problem-matchers): Add warnings to problem matchers (#288) --- .github/cfn-lint.json | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/cfn-lint.json b/.github/cfn-lint.json index 98d4fbe..eb1d1c4 100644 --- a/.github/cfn-lint.json +++ b/.github/cfn-lint.json @@ -4,9 +4,26 @@ "owner": "cfn-lint", "pattern": [ { - "regexp": "^([EWI](\\d{4}))\\s(.+)$", - "code": 1, - "message": 3 + "regexp": "^(([E](\\d{4}))\\s(.+))$", + "message": 1, + "code": 3 + }, + { + "regexp": "^(\\S+):(\\d+):(\\d+)$", + "file": 1, + "line": 2, + "column": 3 + } + ] + }, + { + "owner": "cfn-lint-warnings", + "severity": "warning", + "pattern": [ + { + "regexp": "^(([WI](\\d{4}))\\s(.+))$", + "message": 1, + "code": 3 }, { "regexp": "^(\\S+):(\\d+):(\\d+)$",