From 9278b17a36243152b625a5c5a16a6eacaf4d283f Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Fri, 12 Mar 2021 14:03:14 +0100 Subject: [PATCH 1/2] Add missing efm for TypeScript compiler --- fmts/typescript.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fmts/typescript.go b/fmts/typescript.go index 688a365..9c97b45 100644 --- a/fmts/typescript.go +++ b/fmts/typescript.go @@ -7,6 +7,7 @@ func init() { Name: "tsc", Errorformat: []string{ `%E%f %#(%l,%c): error TS%n: %m`, + `%f(%l,%c): error TS%n: %m`, `%E%f %#(%l,%c): error %m`, // fallback `%E%f %#(%l,%c): %m`, // fallback `%Eerror %m`, From a6be3cf0e7cdd8b83c2b23a86d0272a8e6fbbecc Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Fri, 12 Mar 2021 14:07:12 +0100 Subject: [PATCH 2/2] Update typescript.go --- fmts/typescript.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fmts/typescript.go b/fmts/typescript.go index 9c97b45..b0e322a 100644 --- a/fmts/typescript.go +++ b/fmts/typescript.go @@ -8,6 +8,7 @@ func init() { Errorformat: []string{ `%E%f %#(%l,%c): error TS%n: %m`, `%f(%l,%c): error TS%n: %m`, + `%f:%l:%c - error TS%n: %m`, `%E%f %#(%l,%c): error %m`, // fallback `%E%f %#(%l,%c): %m`, // fallback `%Eerror %m`,