New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

prettier-plugin-solidity

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-solidity

prettier plugin for solidity

1.0.0-alpha.5
Version published
Weekly downloads
105K
6.41%
Maintainers
1
Weekly downloads
 
Created

prettier-plugin-solidity

work in progress prettier plugin for solidity

Installation and usage

Install both prettier and prettier-plugin-solidity:

npm install --save-dev prettier prettier-plugin-solidity

You can add a script for running prettier on all your contracts:

"prettier": "prettier --write **/*.sol"

Or you can use it as part of your linting to check that all your code is prettified:

"lint": "prettier --list-different **/*.sol"

FAQs

Package last updated on 10 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts