Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing solhint lint workflow #18

Merged
merged 10 commits into from
Sep 5, 2023
Merged

Fixing solhint lint workflow #18

merged 10 commits into from
Sep 5, 2023

Conversation

minghinmatthewlam
Copy link

@minghinmatthewlam minghinmatthewlam commented Aug 30, 2023

Why this should be merged

Fixes #11 , where workflows should now fail on solhint errors
Adds a solhint disable for a false positive solhint error on abi.encode

How this works

solhint **/*.sol is apparently different from solhint '**/*'.sol where the latter will sol files in nested directories under contracts/src, whereas the former only looks at sol files in contracts/src directory and one directory down.

How this was tested

ci

How is this documented

added comment in worfklow

Copy link
Contributor

@cam-schultz cam-schultz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for fixing this. Verified that the solhint command works on my setup.

@minghinmatthewlam minghinmatthewlam merged commit 21c25b7 into main Sep 5, 2023
9 checks passed
@minghinmatthewlam minghinmatthewlam deleted the test-linter branch October 19, 2023 20:18
minghinmatthewlam pushed a commit that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solhint workflow not catching lint errors
3 participants