Skip to content

Releases: ScopeLift/scopelint

v0.0.21

20 Jun 15:05
a1441eb
Compare
Choose a tag to compare

What's Changed

  • Allow multiple public methods in scripts as long as there is at least one run method by @garyghayrat in #38

New Contributors

Full Changelog: v0.0.20...v0.0.21

v0.0.20

13 Sep 18:24
910c40c
Compare
Choose a tag to compare

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

v0.0.19

05 Sep 16:06
76c8f01
Compare
Choose a tag to compare

What's Changed

  • feat: allow _RevertGiven_ as part of the allowed naming convention by @mds1 in #33
  • feat: stricter test naming convention checks by @mds1 in #33
  • build: update dependencies by @mds1 in #33

Full Changelog: v0.0.18...v0.0.19

v0.0.18

23 May 17:53
ff38839
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.17...v0.0.18

v0.0.17

28 Mar 23:01
ad0f0f7
Compare
Choose a tag to compare

What's Changed

  • fix: ignore libraries for leading underscore checks by @mds1 in #27

Full Changelog: v0.0.16...v0.0.17

v0.0.16

10 Mar 15:37
Compare
Choose a tag to compare

What's Changed

  • feat: adds scopelint spec command to generate specs from unit tests by @mds1 in #21
  • chore: support new solc language features by bumping solang by @mds1 in #23

Full Changelog: v0.0.15...v0.0.16

v0.0.15

10 Mar 14:26
1857e39
Compare
Choose a tag to compare

What's Changed

Just a refactor to clean up the code and and tests

Full Changelog: v0.0.14...v0.0.15

v0.0.14

02 Feb 20:28
ff7cbb6
Compare
Choose a tag to compare

What's Changed

New in v0.0.14

  • fix: allow numbers in constant/immutable variable names by @mds1 in #16

New in v0.0.13

These were included in v0.0.13 which was released, but not tagged on GitHub

  • feat/test: more robust regexes, add tests by @mds1 in #12
  • refactor/modules by @mds1 in #13
  • add CLI tests by @mds1 in #14
  • ci: update actions/checkout, enable fail-fast, nightly to stable by @mds1 in #15

Full Changelog: v0.0.12...v0.0.14

v0.0.12

02 Dec 18:04
d3bff51
Compare
Choose a tag to compare

What's Changed

  • fix: don't check non-solidity files by @jferas in #7
  • refactor: solang by @mds1 in #8
  • bug fixes, bring back line numbers, better error messages by @mds1 in #9
  • treat *.s.sol files as scripts, other files are not treated that way, by @mds1 in #9

Full Changelog: v0.0.11...v0.0.12

v0.0.11

07 Nov 17:28
9a7351a
Compare
Choose a tag to compare

What's Changed

  • surface forge fmt errors, clean up and colorize terminal output by @mds1 and @jferas in #4

Full Changelog: v0.0.10...v0.0.11