chore: configure prettier with ignore rules and format scripts + running format

This commit is contained in:
lila 2026-03-20 18:37:38 +01:00
parent 22bb8a1e4c
commit ce42eb1811
12 changed files with 150 additions and 89 deletions

View file

@ -6,7 +6,9 @@
"scripts": {
"dev": "concurrently \"pnpm --filter @glossa/web run dev\" \"pnpm --filter @glossa/api run dev\"",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint ."
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"packageManager": "pnpm@10.32.1",
"devDependencies": {
@ -14,6 +16,7 @@
"concurrently": "^9.2.1",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1"
}