Skip to content

v0.0.20

Compare
Choose a tag to compare
@mds1 mds1 released this 13 Sep 18:24
· 1 commit to main since this release
910c40c

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-line to disable the current line
  • // scopelint: disable-next-line to disable the below line
  • // scopelint: disable-start and // scopelint: disable-end to disable regions
    • Use // scopelint: disable-start with no end to disable everything below it
  • // scopelint: disable-next-item disables 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—need 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