Apply standard/enforced code format with prettier.

This commit marks applying prettier to the whole of git history up to this point and prettier is used to enforce format via pre-commit hook. The command used was: `git filter-branch -f --tree-filter 'prettier --no-config --single-quote --tab-width=1 --print-width=100 --use-tabs --trailing-comma=none --prose-wrap=always --write "{.,{packages,bin}/**}/*.{js,json,md}" || echo "Error formatting, possibly invalid JS"' -- --all`
This commit is contained in:
Timothy Farrell 2018-07-19 07:48:57 -05:00
parent 25f22f0fe2
commit ee94106287

View File

@ -3,7 +3,11 @@
"version": "1.0.1",
"description": "Document Management Layer for PouchDB",
"main": "src/index.js",
"files": ["dist", "lib", "src"],
"files": [
"dist",
"lib",
"src"
],
"scripts": {
"test": "node ../../bin/runTests.js ./",
"pre-commit": "npm run test"