Prettier options

This commit is contained in:
Sidharth Vinod
2022-09-03 13:15:55 +05:30
parent fe1be11c21
commit 787cf9395e

View File

@@ -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,
})
);
};