From 1a46dd7cf960b5b9c34e013d0f284b79dfd641e8 Mon Sep 17 00:00:00 2001 From: kravetsone <57632712+kravetsone@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:53:05 +0300 Subject: [PATCH] fix: eslint config template --- package.json | 2 +- src/templates/eslint.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 75d123b..f2a9cc7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-gramio", - "version": "1.2.1", + "version": "1.2.2", "description": "Scaffolding your GramIO project with the environment with easy!", "keywords": [ "gramio", diff --git a/src/templates/eslint.ts b/src/templates/eslint.ts index 8a7416a..7bc96e4 100644 --- a/src/templates/eslint.ts +++ b/src/templates/eslint.ts @@ -17,5 +17,5 @@ export default antfu( }, ); `, - ].join("\n"); + ].filter(Boolean).join("\n"); }