From 8cf4f34e302d10e304d4f4bca5c6fc20ae991039 Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Tue, 27 Dec 2022 23:29:55 +0500 Subject: [PATCH] fix: noGremlins should be true by default even though if its not defined in .sasjslint --- src/types/LintConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/LintConfig.ts b/src/types/LintConfig.ts index b532d00..557e398 100644 --- a/src/types/LintConfig.ts +++ b/src/types/LintConfig.ts @@ -120,7 +120,7 @@ export class LintConfig { this.fileLintRules.push(strictMacroDefinition) } - if (json?.noGremlins) { + if (json?.noGremlins === undefined || json?.noGremlins) { this.lineLintRules.push(noGremlins) }