Releases: ScopeLift/scopelint
Releases · ScopeLift/scopelint
v0.1.0
- feat/2: add SPDX license header validation for source files #40
- feat/2: add scopelint fmt --check #41
- chore/1: run cargo fmt #42
- docs/2: add DEV.md #43
- feat/2: ignore spec for contract with no functions #44
- feat/2: add scopelint fmt --show-internal #45
- feat/2: add variable name validation #46
- feat/2: ensure event has ContractName_ prefix #47
- feat/2: add eip712_typehash validator #48
- feat: add scopelint: ignore directive #49
- Ensure error have ContractName_ as prefix
- chore: enable rules for handler files #52
- feat: report unused imports #53
- fix: allow interface to be defined in script #54
- chore: ensure scopelint check runs if folder is not present #55
- chore: unused import account for @inheritdoc #56
- feat: implement scopelint ignore #57
- feat: strip transient keyword so solang_parser can process #58
- chore: rely on foundry.toml for path #59
- feat: add scopelint fix #60
v0.0.21
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
- @garyghayrat made their first contribution in #38
Full Changelog: v0.0.20...v0.0.21
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—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
v0.0.18
What's Changed
- feat(spec): support multifile test layouts, by @radeksvarz in #29
New Contributors
- @radeksvarz made their first contribution in #29
Full Changelog: v0.0.17...v0.0.18
v0.0.17
v0.0.16
v0.0.15
v0.0.14
What's Changed
New in v0.0.14
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