Add prettier to api

This commit is contained in:
2020-11-11 21:26:11 -06:00
parent 0193935d2d
commit 7706f525cf
11 changed files with 90 additions and 87 deletions

View File

@@ -12,11 +12,14 @@
"shortid": "^2.2.15"
},
"devDependencies": {
"eslint": "^7.12.1"
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"prettier": "^2.1.2"
},
"scripts": {
"pretest": "eslint --ignore-path ../.gitignore .",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"format": "prettier --write \"**/*.{js,json,md,yml}\""
},
"author": "",
"license": "ISC"