diff --git a/lefthook.yml b/lefthook.yml index fee9177f0..1d58a684b 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -4,7 +4,7 @@ pre-commit: prettier: files: git diff --name-only @{push} glob: "*.{js,ts}" - run: npx prettier --single-quote --write + run: npx prettier --single-quote --write {files} linter: files: git diff --name-only @{push} glob: "*.{js,ts}" diff --git a/package.json b/package.json index 9457c917a..2c498df3b 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "test": "TZ=utc jest", "test:coverage": "jest --collectCoverage --detectOpenHandles", "test:watch": "jest --watch", + "test:all": "npm run test && npm run test:folio", "all": "npm run format && npm run lint && npm run build" }, "dependencies": {