Add prettier config and format script

This commit is contained in:
Loris Bettazza 2022-09-30 21:09:56 +02:00
parent a538670c77
commit 14f1799047
2 changed files with 7 additions and 0 deletions

6
.prettierrc Normal file
View file

@ -0,0 +1,6 @@
{
"trailingComma": "all",
"endOfLine": "lf",
"tabWidth": 2,
"printWidth": 120
}

View file

@ -7,6 +7,7 @@
"main": "./npx/bitburner-filesync.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"format": "prettier -w .",
"start": "node src/index.js"
},
"repository": {