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 2536b1a32a
commit 91d99aa321
2 changed files with 10 additions and 6 deletions

View File

@ -284,7 +284,7 @@ container.
FRPTools is the result of years of learning from the following projects: FRPTools is the result of years of learning from the following projects:
* [KnockoutJS](http://knockoutjs.com/) - [KnockoutJS](http://knockoutjs.com/)
* [Overture](https://github.com/fastmail/overture) - [Overture](https://github.com/fastmail/overture)
* [Redux](https://redux.js.org/) - [Redux](https://redux.js.org/)
* [Mithril](https://mithril.js.org/) - [Mithril](https://mithril.js.org/)

View File

@ -3,12 +3,16 @@
"version": "3.2.1", "version": "3.2.1",
"description": "Observable Property and Computed data streams", "description": "Observable Property and Computed data streams",
"main": "src/index.js", "main": "src/index.js",
"files": ["src"], "files": [
"src"
],
"scripts": { "scripts": {
"test": "node ../../bin/runTests.js ./", "test": "node ../../bin/runTests.js ./",
"pre-commit": "npm run test" "pre-commit": "npm run test"
}, },
"keywords": ["reactive"], "keywords": [
"reactive"
],
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)", "author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
"license": "Apache-2.0" "license": "Apache-2.0"
} }