Lint your files according to the Solidity plugin for Prettier, a code formatter.
What is Solhint-Prettier Plugin?
The Solhint Prettier plugin allows you to connect the Prettier formatting rules to the Solhint linter. Used as a Solidity linter, Solhint detects a wide array of validation and security rules in compliance with Solidity's style guide. Prettier is an extremely popular style checker for Javascript with over 100k npm downloads per month, and provides preset and custom rules for formatting. Combined, Solhint with Prettier is an effective, consistent method for contract formatting and linting.