Update Prettier
This commit is contained in:
parent
20406a4295
commit
64e301c33b
|
@ -47,9 +47,12 @@ const preprocess = ab => {
|
|||
* @returns {Function} composed transform
|
||||
*/
|
||||
const compose = (...fns) => {
|
||||
return fns.reduce((prevFn, nextFn) => {
|
||||
return value => nextFn(prevFn(value));
|
||||
}, value => value);
|
||||
return fns.reduce(
|
||||
(prevFn, nextFn) => {
|
||||
return value => nextFn(prevFn(value));
|
||||
},
|
||||
value => value
|
||||
);
|
||||
};
|
||||
|
||||
// TODO replace with @callback
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
"less-loader": "^4.0.3",
|
||||
"lint-staged": "^7.2.0",
|
||||
"lodash": "^4.17.4",
|
||||
"prettier": "^1.13.7",
|
||||
"prettier": "^1.14.0",
|
||||
"pug": "^2.0.3",
|
||||
"pug-loader": "^2.4.0",
|
||||
"raw-loader": "~0.5.0",
|
||||
|
|
|
@ -5102,9 +5102,9 @@ preserve@^0.2.0:
|
|||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
|
||||
|
||||
prettier@^1.13.7:
|
||||
version "1.13.7"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281"
|
||||
prettier@^1.14.0:
|
||||
version "1.14.0"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.0.tgz#847c235522035fd988100f1f43cf20a7d24f9372"
|
||||
|
||||
pretty-format@^23.2.0:
|
||||
version "23.2.0"
|
||||
|
|
Loading…
Reference in New Issue