solhint-plugin-payable
v0.1.0
Published
Solhint plugin for ensuring all functions are payable
Downloads
7
Readme
solhint-plugin-numcast
solhint plugin for detecting overflows in numeric (uint/int) casts. It helps avoiding low level numeric casts which can lead to silent overflows.
Installation
Available on npm:
npm install solhint-plugin-numcast --save-dev
Usage
Enable the plugin in your project's .solhint.json
:
{
"extends": "solhint:recommended",
"plugins": ["numcast"],
"rules": {
"numcast/safe-cast": "error"
},
}