add eslint and prettier

This commit is contained in:
Ersun Warncke
2019-03-08 12:06:24 -04:00
parent 83597e8723
commit a2b5793f49
7 changed files with 415 additions and 1215 deletions
+3 -1
View File
@@ -8,7 +8,9 @@
},
"version": "1.7.0",
"scripts": {
"test": "mocha test/**/*.js"
"test": "mocha test/**/*.js",
"format": "prettier-eslint '**/*.js' --list-different",
"format:fix": "prettier-eslint '**/*.js' --write"
},
"dependencies": {
"bunyan": "1.8.12",