-
-
Notifications
You must be signed in to change notification settings - Fork 453
Expand file tree
/
Copy path.prettierrc.mjs
More file actions
31 lines (31 loc) · 681 Bytes
/
.prettierrc.mjs
File metadata and controls
31 lines (31 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* @type {import('prettier').Options}
*/
export default {
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: false,
singleQuote: false,
trailingComma: "none",
bracketSpacing: true,
bracketSameLine: true,
plugins: ["@ianvs/prettier-plugin-sort-imports"],
importOrder: [
"<BUILTIN_MODULES>", // Node.js built-in modules
"<THIRD_PARTY_MODULES>", // Imports not matched by other special words or groups.
"", // Empty line
"^@plasmo/(.*)$",
"",
"^@plasmohq/(.*)$",
"",
"^@plasmo-static-common/(.*)$",
"",
"^~(.*)$",
"",
"^[./]",
"",
"__plasmo_import_module__",
"__plasmo_mount_content_script__"
]
}