[setup][s]-setup code formatting with prettier

- add husky and lint-stages for pre-commit hooks
 - format entire codebase using `yarn format`
This commit is contained in:
Gift Egwuenu
2020-06-17 13:00:54 +01:00
parent 2ecd88388a
commit 5de8ace421
35 changed files with 1038 additions and 628 deletions

View File

@@ -1,8 +1,8 @@
module.exports = {
process() {
return 'module.exports = {};'
return 'module.exports = {};';
},
getCacheKey() {
return 'cssTransform'
return 'cssTransform';
},
}
};