mirror of
https://github.com/sasjs/lint.git
synced 2026-01-05 11:40:06 +00:00
feat: new rule added 'strictMacroDefinition'
This commit is contained in:
@@ -10,7 +10,8 @@ import {
|
||||
maxLineLength,
|
||||
noEncodedPasswords,
|
||||
noTabIndentation,
|
||||
noTrailingSpaces
|
||||
noTrailingSpaces,
|
||||
strictMacroDefinition
|
||||
} from '../rules/line'
|
||||
import { lowerCaseFileNames, noSpacesInFileNames } from '../rules/path'
|
||||
import { LineEndings } from './LineEndings'
|
||||
@@ -90,5 +91,9 @@ export class LintConfig {
|
||||
if (json?.hasMacroParentheses) {
|
||||
this.fileLintRules.push(hasMacroParentheses)
|
||||
}
|
||||
|
||||
if (json?.strictMacroDefinition) {
|
||||
this.lineLintRules.push(strictMacroDefinition)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user