feat: 🎸 No-op linting errors should be warnings (#3326)
This commit is contained in:
1 parent
347107c109
commit
d0612c0a46
1 file changed
+2
-2
@@ -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'))],
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user