diff --git a/language/linter.ts b/language/linter.ts index f895ef71..e34a7e99 100644 --- a/language/linter.ts +++ b/language/linter.ts @@ -161,7 +161,6 @@ export default class Linter { if (ruleCount > 0 && ![skipRules.single, skipRules.singleRules].includes(currentRule)) { const currentProcedure = globalScope.procedures.find(proc => proc.position.path === data.uri && lineNumber >= proc.range.start && lineNumber <= proc.range.end); - // const currentProcedure = globalScope.procedures.find(proc => lineNumber >= proc.range.start && lineNumber <= proc.range.end); const currentScope = globalScope.merge(inProcedure && currentProcedure ? currentProcedure.scope : undefined); // Only fetch the names if we have a rule that requires it. It might be slow.