Repository navigation
v0.0.20
What's Changed
With #35 we introduce support // scopelint: <directive> to disable the scopelint checks for certain lines of code. For now, to avoid introducing a config file, we only support comment-style directives:
// scopelint: disable-lineto disable the current line// scopelint: disable-next-lineto disable the below line// scopelint: disable-startand// scopelint: disable-endto disable regions- Use
// scopelint: disable-startwith no end to disable everything below it
- Use
// scopelint: disable-next-itemdisables the next code item regardless of new lines
Note that these are for scopelint specific checks only, disabling forge fmt checks still requires the // forgefmt: disable-* commands
Note: The disable-next-item does not always seem to work properly鈥攏eed to debug further and fix in a future release, but the other directives should work as expected
Full Changelog: v0.0.19...v0.0.20