Skip to content

Commit d3ca4ac

Browse files
committed
vsx: default severities
1 parent ec273e3 commit d3ca4ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"icon": "media/lightningflow.png",
1212
"description": "A VS Code Extension for analysis and optimization of Salesforce Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and tests integration.",
13-
"version": "2.0.6",
13+
"version": "2.1.0",
1414
"engines": {
1515
"vscode": "^1.92.0"
1616
},

packages/vsx/src/commands/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default class Commands {
133133
const def = allRules.find(r => r.name === item.description)!;
134134
const existing = rules[def.name];
135135
newRules[def.name] = {
136-
severity: existing?.severity || 'error',
136+
severity: existing?.severity || def.severity || 'warning',
137137
expression: existing?.expression,
138138
};
139139
}

0 commit comments

Comments
 (0)