From 1596e23ac6c41d073c7e694bb68346bfec0dce4b Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 7 Jun 2022 14:01:27 +0200 Subject: [PATCH] Disable article addition in lint script --- scripts/lint.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lint.ts b/scripts/lint.ts index b546c0c06..8575bdc7a 100644 --- a/scripts/lint.ts +++ b/scripts/lint.ts @@ -50,6 +50,9 @@ function addArticleToPresets(layerConfig: {presets?: {title: any}[]}){ if(txt.startsWith(article+" ")){ return txt; } + if(txt.startsWith("an ")){ + return txt; + } return article +" " + txt.toLowerCase(); }) .translations