solhint icon indicating copy to clipboard operation
solhint copied to clipboard

Solhint is an open-source project to provide a linting utility for Solidity code.

Results 127 solhint issues
Sort by recently updated
recently updated
newest added

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

Take the following code snippet: ```solidity function isPowerOfTen(uint256 x) external view returns (bool result) { assembly { switch x case 1 { result := true } case 10 { result...

Solidity greater than 0.7.4 allows you to have file-level function definitions. Solidity forces you not to give them a `visibility modifier` because they are always `pure` by default. `solhint` still...

bug

https://github.com/prettier-solidity/prettier-plugin-solidity/issues/427

```solidity contract C { function foo(address payable /* addr */) public view { this; } } ``` This contract triggers `Variable "payable" is unused` however payable is not a variable.

bug

Some file is importing something from some test file. This means that we have to include the test directory in the published package, but besides that it's just a bad...

good first issue
chore

A rule for warning/error about any unused imports.

Requesting new rule to be added to solhint that's similar to `no-unused-vars` but for `no-unsed-functions` and it would look at all functions that are **not** `virtual` and thus should really...

feature-request
new-rule
awaiting user feedback

See https://github.com/protofire/solhint/pull/253#issuecomment-709377691

bug