Solhint plugin for detecting overflows in numeric (uint/int) casts
npm install solhint-plugin-numcastsolhint plugin for detecting overflows in numeric (uint/int) casts. It helps avoiding low level numeric casts which can lead to silent overflows.
Available on npm:
``sh`
npm install solhint-plugin-numcast --save-dev
Enable the plugin in your project's .solhint.json:
`json``
{
"extends": "solhint:recommended",
"plugins": ["numcast"],
"rules": {
"numcast/safe-cast": "error"
},
}