packages/create-purplet/src/options/prettier.ts
Function prettierConfig
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function prettierConfig(config: ProjectConfig) {
if (config.lang !== 'js') {
// This config is based off of prettier-config-dave
return {
arrowParens: 'avoid',