revite/.prettierrc.js

17 lines
354 B
JavaScript
Raw Permalink 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$",
"^@revoltchat",
2021-07-29 10:11:21 -04:00
"/(lib)",
"/(redux|mobx)",
"/(context)",
2022-05-25 11:43:59 -04:00
"/(ui|common)$",
".svg|.webp|.png|.jpg$",
2021-07-29 10:11:21 -04:00
"^[./]",
],
importOrderSeparation: true,
};