diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 94099675..00000000 --- a/.prettierrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "all", - "printWidth": 80 -} diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 00000000..a87ab9cc --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,6 @@ +const fabric = require('@umijs/fabric'); + +module.exports = { + ...fabric.prettier, + plugins: ['prettier-plugin-style-order'], +};