Lint your files according to the Solidity plugin for Prettier, a code formatter.
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.
Use Web3's Most Scalable and Reliable RPC Nodes
Sign up for a free Alchemy Account
Discover more web3 applications and developer tools.
Build blockchain magic with Alchemy
Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.
