You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Other tools such as eslint have the ability to ignore specific lines by prepending the code with a comment (for example, eslint-disable-next-line).
There seems to be possible to exclude specific SWC codes, but I haven't seen anything in the documentation about ignoring lines. Did I miss that or is it not currently possible?
In the colonyNetwork repo we solved this with our own local rule ignores, similar to eslint: e.g. // ignore-swc-103 appended to the end of the line you want to ignore in the contract. Then run the mythril json report through this script that compares the reported warnings/errors with ignored lines. This is how we run it in the nightly CI builds.
Other tools such as
eslint
have the ability to ignore specific lines by prepending the code with a comment (for example,eslint-disable-next-line
).There seems to be possible to exclude specific SWC codes, but I haven't seen anything in the documentation about ignoring lines. Did I miss that or is it not currently possible?
Update: I saw @willclarktech's comment: #136 (comment).
The text was updated successfully, but these errors were encountered: