0.1.0 • Published 8 months ago
solhint-plugin-payable v0.1.0
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"
},
}
0.1.0
8 months ago