buidler-aragon icon indicating copy to clipboard operation
buidler-aragon copied to clipboard

Configure prettierrc

Open dapplion opened this issue 4 years ago • 0 comments

Brief aside, but we should be able to have prettier add ending commas in cases like this, to decrease the line diffs.

Originally posted by @sohkai in https://github.com/aragon/buidler-aragon/pull/90#discussion_r402933656


Add

"trailingComma": "es5"

To the .prettierrc file

Then run

node_modules/.bin/prettier --write "**/*.{ts,js}"

Warning: will generate a massive diff, do in a period of low development

dapplion avatar Apr 03 '20 16:04 dapplion