mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-07 09:36:41 +02:00
Prettier options
This commit is contained in:
@@ -50,7 +50,14 @@ const transform = (file: string) => {
|
||||
)}`;
|
||||
verifyAndCopy(
|
||||
file,
|
||||
prettier.format(transformed, { parser: 'markdown', printWidth: 100, singleQuote: true })
|
||||
prettier.format(transformed, {
|
||||
parser: 'markdown',
|
||||
useTabs: false,
|
||||
tabWidth: 4,
|
||||
endOfLine: 'auto',
|
||||
printWidth: 100,
|
||||
singleQuote: true,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user