Skip to content

Commit

Permalink
fix: noGremlins should be true by default even though if its not defi…
Browse files Browse the repository at this point in the history
…ned in .sasjslint
  • Loading branch information
sabhas committed Dec 27, 2022
1 parent 97e3490 commit 8cf4f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/LintConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class LintConfig {
this.fileLintRules.push(strictMacroDefinition)
}

if (json?.noGremlins) {
if (json?.noGremlins === undefined || json?.noGremlins) {
this.lineLintRules.push(noGremlins)
}

Expand Down

0 comments on commit 8cf4f34

Please sign in to comment.