gothands / contracts

0 stars 1 forks source link

Solhint fixes #3

Closed juztamau5 closed 1 year ago

juztamau5 commented 1 year ago

Description

This PR fixes the line-length solhint errors using prettier. This allows slither to run, which produces static analysis results.

How has this been tested?

Tested by installing slither in a venv and running yarn lint.

Solhint result:

$ yarn lint
yarn run v1.22.19
$ yarn solhint && yarn slither
$ solhint 'contracts/**/*.sol' --max-warnings 0

<solhint success>

Slither result:

$ slither .
<slither report>
INFO:Slither:. analyzed (14 contracts with 62 detectors), 42 result(s) found