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

chore: update token-distribution to use our linting packages #954

Merged
merged 17 commits into from
Mar 7, 2024

Conversation

tmigone
Copy link
Contributor

@tmigone tmigone commented Feb 23, 2024

No description provided.

Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Copy link

socket-security bot commented Feb 23, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@graphprotocol/client-cli@2.2.22 Transitive: environment, eval, filesystem, network, shell, unsafe +94 17.3 MB dotansimha

🚮 Removed packages: npm/@changesets/cli@2.27.1, npm/@commitlint/cli@18.6.1, npm/@commitlint/config-conventional@18.6.2, npm/husky@8.0.3

View full report↗︎

Copy link

openzeppelin-code bot commented Feb 23, 2024

chore: update token-distribution to use our linting packages

Generated at commit: 91f6c71ad9f2957d75fa0def7f32127e500bf4f3

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
4
0
15
37
58
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Maikol
Maikol previously approved these changes Feb 23, 2024
Copy link
Member

@Maikol Maikol left a comment

Choose a reason for hiding this comment

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

LGTM

pcarranzav
pcarranzav previously approved these changes Feb 28, 2024
Copy link
Member

@pcarranzav pcarranzav left a comment

Choose a reason for hiding this comment

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

One detail but LGTM

@@ -324,7 +325,8 @@ describe('GraphTokenLockSimple', () => {
// Before cliff no vested tokens
if (cliffTime.gt(0) && currentTime.lt(cliffTime)) {
expectedAmount = BigNumber.from(0)
} else {
}
else {
Copy link
Member

Choose a reason for hiding this comment

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

This looks like a weird choice for linter output doesn't it? } else { looked cleaner imo, not sure if that's configurable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah i actually agree with you, going to look into it, I didn't notice this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

Base automatically changed from tmigone/lint-config to main February 29, 2024 21:43
@tmigone tmigone dismissed stale reviews from pcarranzav and Maikol February 29, 2024 21:43

The base branch was changed.

Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
@tmigone tmigone requested a review from pcarranzav March 6, 2024 20:02
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
@tmigone tmigone merged commit fce8f74 into main Mar 7, 2024
5 checks passed
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.

None yet

3 participants