revite/.prettierrc.js

15 lines
308 B
JavaScript
Raw Normal View History

2021-07-05 06:15:02 -04:00
module.exports = {
2021-07-29 10:11:21 -04:00
tabWidth: 4,
trailingComma: "all",
jsxBracketSameLine: true,
importOrder: [
"preact|classnames|.scss$",
"/(lib)",
"/(redux|mobx)",
"/(context)",
2021-09-04 10:50:58 -04:00
"/(ui|common)|.svg|.webp$",
2021-07-29 10:11:21 -04:00
"^[./]",
],
importOrderSeparation: true,
};