mirror of
https://github.com/sasjs/lint.git
synced 2025-12-10 17:34:36 +00:00
fix: made optionsPresent a const
This commit is contained in:
@@ -12,7 +12,7 @@ const processOptions = (
|
||||
diagnostics: Diagnostic[],
|
||||
config?: LintConfig
|
||||
): void => {
|
||||
let optionsPresent = macro.declaration.split('/')?.[1]?.trim() ?? ''
|
||||
const optionsPresent = macro.declaration.split('/')?.[1]?.trim() ?? ''
|
||||
const severity = config?.severityLevel[name] || Severity.Warning
|
||||
|
||||
config?.requiredMacroOptions.forEach((option) => {
|
||||
|
||||
Reference in New Issue
Block a user