From 283c3f14760c925fe9bf51a2db6f2d567dedb4fe Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sat, 25 Sep 2021 17:33:23 +0000 Subject: Add lint check to pipeline --- src/formats.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/formats.ts') diff --git a/src/formats.ts b/src/formats.ts index db13fa6..ff24061 100644 --- a/src/formats.ts +++ b/src/formats.ts @@ -75,7 +75,7 @@ const FormatsObj: FormatObj = { return (100 * covered) / coverable; }, matchColor: defaultColorMatches, - fileName: "index.html" + fileName: "index.html", }, cobertura: { parseCoverage: async (contents: string): Promise => { @@ -98,17 +98,17 @@ const FormatsObj: FormatObj = { } }, matchColor: defaultColorMatches, - fileName: "index.xml" - } + fileName: "index.xml", + }, }, - listFormats: function() { + listFormats: function () { return Object.keys(this.formats); }, - getFormat: function(format: string) { + getFormat: function (format: string) { return this.formats[format]; - } + }, }; export default FormatsObj; -- cgit