From 13b873cf8f640e64395809d9b592a75b9589a64e Mon Sep 17 00:00:00 2001 From: kuro Date: Sun, 18 Oct 2026 03:11:57 +0200 Subject: [PATCH] typing error fix --- src/core/rules/SyntaxRule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/rules/SyntaxRule.ts b/src/core/rules/SyntaxRule.ts index 7e1b0da..dcc4ffd 100644 --- a/src/core/rules/SyntaxRule.ts +++ b/src/core/rules/SyntaxRule.ts @@ -102,7 +102,7 @@ export class SyntaxRule implements LinterRule { // "in" (für for-Schleifen) als gültigen Zeilenumbruch hinzugefügt const continuesOnNextLine = /(,|and|or|not|\+|-|\*|\/|=|:=|matches|in)$/i.test(codePart); - ´const endsWithBlockOpener = /\b(then|do)$/.test(codePart); + const endsWithBlockOpener = /\b(then|do)$/.test(codePart); if (!noSemicolonNeeded && !ctx.justOpenedString && ctx.parenStack.length === 0 && ctx.bracketStack.length === 0 && ctx.inBlock !== 'enumeration' && !ctx.inConditionBlock && !continuesOnNextLine && !endsWithBlockOpener) { if (codePart.length > 0 && !codePart.endsWith(';') && !codePart.endsWith('{') && !codePart.endsWith(',')) {