mirror of
https://github.com/sasjs/lint.git
synced 2026-01-21 11:00:06 +00:00
chore: prevent space b/w macroName and starting parentheses is not applicable
This commit is contained in:
@@ -46,18 +46,6 @@ const test = (value: string, config?: LintConfig) => {
|
||||
1,
|
||||
severity: Severity.Warning
|
||||
})
|
||||
// } else if (macro.name !== macro.name.trim()) {
|
||||
// diagnostics.push({
|
||||
// message: 'Macro definition contains space(s)',
|
||||
// lineNumber: macro.startLineNumber!,
|
||||
// startColumnNumber: getColumnNumber(macro.declarationLine, macro.name),
|
||||
// endColumnNumber:
|
||||
// getColumnNumber(macro.declarationLine, macro.name) +
|
||||
// macro.name.length -
|
||||
// 1 +
|
||||
// `()`.length,
|
||||
// severity: Severity.Warning
|
||||
// })
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user