From 7335b3deb57939110209419eff7e51cb8777b89c Mon Sep 17 00:00:00 2001 From: Sasial <44125644+sasial-dev@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:59:13 +1000 Subject: [PATCH] feat: disallow empty files (#216) --- src/configs/unicorn.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/configs/unicorn.ts b/src/configs/unicorn.ts index 5d28a2ba..16176ad3 100644 --- a/src/configs/unicorn.ts +++ b/src/configs/unicorn.ts @@ -30,6 +30,7 @@ export async function unicorn(): Promise> { ], "unicorn/no-array-push-push": "error", "unicorn/no-await-expression-member": "error", + "unicorn/no-empty-file": "error", "unicorn/no-for-loop": "error", "unicorn/no-keyword-prefix": "error", "unicorn/no-lonely-if": "error",