Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 561234d

Browse files
committed
chore: change definitions to advanced rule
1 parent 9eb8abb commit 561234d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/config-provider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
IRulesConfig,
33
getRules,
44
getBetaRules,
5-
IRuleDefinition,
5+
AdvancedRule,
66
} from 'lightning-flow-scanner-core';
77
import * as vsce from 'vscode';
88
import { Document, parse } from 'yaml';
@@ -52,7 +52,7 @@ export class ConfigProvider {
5252
...getRules(),
5353
...getBetaRules(),
5454
].reduce(
55-
(acc, rule: IRuleDefinition) => {
55+
(acc, rule: AdvancedRule) => {
5656
acc[rule.name] = { severity: 'error' };
5757
return acc;
5858
},

0 commit comments

Comments
 (0)