chore: Added editorconfig, run prettier on staged files

This commit is contained in:
Pazaz 2026-04-03 02:58:23 -04:00
parent a5d539a9c9
commit 8dc93b3d9d
2 changed files with 6 additions and 4 deletions

4
.editorconfig Normal file
View file

@ -0,0 +1,4 @@
root = true
[*]
insert_final_newline = true

View file

@ -15,11 +15,8 @@
"db:schema": "prisma migrate dev --schema prisma/multiworld/schema.prisma",
"dev": "bun run --watch src/app.ts",
"friend": "bun run src/friend.ts",
"lint": "eslint --no-warn-ignored src tools",
"lint:staged": "eslint --no-warn-ignored",
"logger": "bun run src/logger.ts",
"login": "bun run src/login.ts",
"precommit": "prettier . --write && eslint src --fix",
"prepare": "husky",
"quickstart": "bun run src/app.ts",
"setup": "bun run tools/server/setup.ts",
@ -30,7 +27,8 @@
},
"lint-staged": {
"*.{js,ts}": [
"bun run lint:staged"
"prettier --write",
"eslint --no-warn-ignored"
]
},
"dependencies": {