Skip to content

Commit

Permalink
добавил ограничение по типу модуля
Browse files Browse the repository at this point in the history
дополнил доку
  • Loading branch information
artbear committed Nov 25, 2023
1 parent 4b812e4 commit d96f4af
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import com.github._1c_syntax.bsl.languageserver.utils.Ranges;
import com.github._1c_syntax.bsl.parser.BSLParser;
import com.github._1c_syntax.bsl.parser.BSLParserRuleContext;
import com.github._1c_syntax.bsl.types.ModuleType;
import com.github._1c_syntax.utils.CaseInsensitivePattern;
import org.antlr.v4.runtime.tree.ParseTree;
import org.jetbrains.annotations.NotNull;
Expand All @@ -45,6 +46,10 @@
@DiagnosticMetadata(
type = DiagnosticType.VULNERABILITY,
severity = DiagnosticSeverity.MAJOR,
modules = {
ModuleType.ObjectModule,
ModuleType.UNKNOWN
},
minutesToFix = 5,
tags = {
DiagnosticTag.SUSPICIOUS
Expand Down

0 comments on commit d96f4af

Please sign in to comment.