mirror of
https://github.com/LostCityRS/Engine-TS
synced 2026-08-16 08:26:04 -04:00
chore: Added editorconfig, run prettier on staged files
This commit is contained in:
parent
a5d539a9c9
commit
8dc93b3d9d
2 changed files with 6 additions and 4 deletions
4
.editorconfig
Normal file
4
.editorconfig
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
insert_final_newline = true
|
||||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue