chore: enforce brackets for if clause and for/while loops

This commit is contained in:
Ilia Mashkov committed 2026-04-17 13:05:36 +03:00
1 parent cfaff46d59
commit 12e8bc0a89
25 files changed
+213 -70

No files matched your search

+6 -2
View File
@@ -529,8 +529,12 @@ export function createMockStore<T>(config: {
* Returns semantic status string
*/
get status() {
if (isLoading) return 'pending';
if (isError) return 'error';
if (isLoading) {
return 'pending';
}
if (isError) {
return 'error';
}
return 'success';
},
};