Chapter 5: prettier

This commit is contained in:
Beth Griggs
2020-05-20 01:21:55 +01:00
parent ce759b45a7
commit a0cf6a254c
11 changed files with 41 additions and 3900 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
"description": "Reverses a sentence.",
"main": "index.js",
"scripts": {
"lint": "standard",
"lint": "./node_modules/prettier/bin-prettier.js . --write",
"prepublish": "npm run lint",
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -19,6 +19,6 @@
},
"homepage": "https://github.com/BethGriggs/reverse-sentence#readme",
"devDependencies": {
"standard": "^14.3.3"
"prettier": "2.0.5"
}
}