Add Prettier to the mix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-05-02 11:07:01 -04:00
parent 43e5920658
commit 63dd15ea83
2 changed files with 9 additions and 2 deletions

View File

@@ -6,7 +6,9 @@
"scripts": {
"build": "tsc",
"format": "prettier:fix && lint:fix",
"lint": "eslint . --ext .js",
"lint": "eslint --ext .ts,.tsx lib/",
"lint:fix": "eslint --fix --ext .ts,.tsx lib/",
"prettier": "prettier --check 'lib/**/*.ts'",
"prettier:fix": "prettier --write 'lib/**/*.ts'",
"serve": "ts-node src/server.ts",
"start": "nodemon"