chore: add prettier (#45)

* chore: add prettier

* add badge

* up
This commit is contained in:
xrkffgg
2021-01-26 15:38:25 +08:00
committed by GitHub
parent 37632245d8
commit dcad795964
14 changed files with 2775 additions and 362 deletions

6
.prettierrc.js Normal file
View File

@@ -0,0 +1,6 @@
const fabric = require('@umijs/fabric');
module.exports = {
...fabric.prettier,
arrowParens: 'avoid',
};