When working in a professional environment it's useful to agree on one specific way to format code. "Prettier Solidity" is a plugin for the widely adopted code formatting tool Prettier. Once integrated it will automatically format your Solidity code according to best practices.

Thanks to its configurability you can change the formatting rules to your liking. To streamline your workflow further you might also want to look into Editor and IDE integrations for Prettier. That way your code can be auto-formatted when saving files.

  • Prettier Solidity

You might also enjoy