From 4ccd8027c58e7d2e36638e232f50e29a032e0469 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 25 Dec 2024 22:51:41 +0100 Subject: [PATCH] chore: update eslint ignores; use npm in precommit --- .husky/pre-commit | 4 ++-- eslint.config.mjs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index a1fd632..acf2eda 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ -pnpm run test:cli run -pnpm run lint +npm run test:cli run +npm run lint diff --git a/eslint.config.mjs b/eslint.config.mjs index e724011..728e794 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,9 +10,10 @@ export default [ 'dist/*', '.output/*', '.nitro/*', - 'node_modules*', 'site/*', 'templates/*', + '**/coverage/*', + '**/node_modules/*' ], }, ]