v2 initial commit
This commit is contained in:
17
.prettierrc.cjs
Normal file
17
.prettierrc.cjs
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @type {import('prettier').Options}
|
||||
*/
|
||||
module.exports = {
|
||||
printWidth: 80,
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
semi: false,
|
||||
singleQuote: false,
|
||||
trailingComma: "none",
|
||||
bracketSpacing: true,
|
||||
bracketSameLine: true,
|
||||
plugins: [require.resolve("@plasmohq/prettier-plugin-sort-imports")],
|
||||
importOrder: ["^@plasmohq/(.*)$", "^~(.*)$", "^[./]"],
|
||||
importOrderSeparation: true,
|
||||
importOrderSortSpecifiers: true
|
||||
}
|
||||
Reference in New Issue
Block a user