prettier-solidity-config – 更漂亮的坚固配置区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,prettier-solidity-config – 更漂亮的坚固配置区块链毕设代写 是一篇很好的国外资料

prettier-solidity-config

Overview

Prettier configuration for Solidity

Usage

Install both prettier and prettier-plugin-solidity:

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

Note:the --exact flag, as prettier versioning does not follow semver and different versions may produce different linting results

Run prettier in your contracts:

npx prettier --write 'contracts/**/*.sol'

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

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

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

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

License

CC0-1.0 or ISC

Configure Renovate (


更漂亮的坚固性配置

概述

Solidity的Prettier配置安装Prettier和Prettier插件Solidity:

使用

注:精确旗帜,由于prettier版本控制不遵循semver,并且不同的版本可能会产生不同的linting结果,因此可以在您的合同中运行prettier:

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

您可以添加一个脚本,用于在所有合同上运行prettier:

或者您可以将其用作linting的一部分,以检查您的所有代码是否经过了美化:

npx prettier --write 'contracts/**/*.sol'

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

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

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

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

许可证

CC0-1.0 or ISC

Configure Renovate (

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/20078.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » prettier-solidity-config – 更漂亮的坚固配置区块链毕设代写

提供最优质的资源集合

立即查看 了解详情