From 93193b10de7117bddb26e18b289c74168cfe0419 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Fri, 27 Dec 2024 20:58:26 +0100 Subject: [PATCH] chore: test precommit --- .husky/pre-commit | 1 + eslint.config.mjs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index abbab06..0890b45 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,3 @@ npm run eslint --cache npm run prettier . --write +git add . diff --git a/eslint.config.mjs b/eslint.config.mjs index a47629a..f404b9f 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -18,8 +18,6 @@ import { fileURLToPath } from 'node:url'; - - const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) const gitignorePath = path.resolve(__dirname, '.gitignore')