feat: 🎸 No-op linting errors should be warnings (#3326)

This commit is contained in:
Zhihe Li authored and GitHub committed 2026-06-19 15:15:58 -04:00
1 parent 347107c109
commit d0612c0a46
1 file changed
+2 -2
+2 -2
View File
@@ -617,7 +617,7 @@ const validateActionsField = (
diagnostics.push({
from: pos.valueStart,
to: pos.valueEnd,
severity: 'error',
severity: 'warning',
message: translate('actions.noop-requires-list'),
});
return;
@@ -637,7 +637,7 @@ const validateActionsField = (
diagnostics.push({
from: pos.valueStart,
to: pos.valueEnd,
severity: 'error',
severity: 'warning',
message: translate('actions.list-requires-noop'),
actions: [createAddTextAction(translate('editor.add-noop'))],
});