We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d19e4e commit bd056e2Copy full SHA for bd056e2
app/lib/pages/lint/lint-screen.tsx
@@ -27,7 +27,11 @@ export const LintScreen = () => {
27
const msg = ev.data.pluginMessage;
28
if (msg.type == _APP_EVENT_LINT_RESULT_EK) {
29
const _feedbacks = msg.data as Array<ReflectLintFeedback>;
30
- setFeedbacks(_feedbacks);
+ if (_feedbacks.length === 0) {
31
+ PluginSdk.notify("🤩 Neat and clean (nothing to clean)", 2);
32
+ } else {
33
+ setFeedbacks(_feedbacks);
34
+ }
35
}
36
});
37
0 commit comments