Add prettier config and format script
This commit is contained in:
parent
a538670c77
commit
14f1799047
2 changed files with 7 additions and 0 deletions
6
.prettierrc
Normal file
6
.prettierrc
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"trailingComma": "all",
|
||||
"endOfLine": "lf",
|
||||
"tabWidth": 2,
|
||||
"printWidth": 120
|
||||
}
|
|
@ -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": {
|
||||
|
|
Loading…
Add table
Reference in a new issue