diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ffec07d..f240af8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,6 +37,6 @@ repos: files: \.(md|mdx)$ - id: eslint name: Run ESLint - entry: npx eslint --fix --config=website/eslint.config.mjs "website/**/*.{js,jsx,ts,tsx,cts,cjs}" + entry: npx --prefix website eslint --fix --config=website/eslint.config.mjs "website/**/*.{js,jsx,ts,tsx,cts,cjs}" language: node files: website/.*\.(js|jsx|ts|tsx|cts|cjs)$