diff --git a/.lintstagedrc b/.lintstagedrc index b2b23f3..aa17ef2 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,4 +1,4 @@ { "*.{js,ts,tsx}": "eslint --cache --fix --ext .js,.ts,.tsx", - "*.{css,md,json,html,yaml}": "prettier --write" + "*": "prettier --write" } diff --git a/package.json b/package.json index 0409cba..0c69a6d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "e2e:ui": "playwright test --ui", "build": "run-p build:backend build:frontend", "lint": "eslint --cache --fix --ext .js,.ts,.tsx .", + "format": "prettier . --write", "prepare": "husky install", "start:frontend": "cd frontend && vite", "start:local-backend": "run-p start:local-backend:db start:local-backend:gateway",