From ee94106287092b1e73728cf15126848b29246672 Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Thu, 19 Jul 2018 07:48:57 -0500 Subject: [PATCH] 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` --- packages/pouchtype/package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/pouchtype/package.json b/packages/pouchtype/package.json index 60b1edf..2439f7e 100644 --- a/packages/pouchtype/package.json +++ b/packages/pouchtype/package.json @@ -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"