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

Org-wide linter #154

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Org-wide linter #154

merged 3 commits into from
Sep 10, 2024

Conversation

roman-khimov
Copy link
Member

No description provided.

Non-notary is long gone for NeoFS.

pkg/morphchain/contracts/netmap.go:26:3: field `notaryDisabled` is unused (unused)

Signed-off-by: Roman Khimov <[email protected]>
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 3.03%. Comparing base (58a3b22) to head (5c5f83e).
Report is 5 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #154   +/-   ##
======================================
  Coverage    3.03%   3.03%           
======================================
  Files          18      18           
  Lines         987     987           
======================================
  Hits           30      30           
  Misses        955     955           
  Partials        2       2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Makefile Outdated
@@ -36,8 +36,11 @@ clean:
version:
@echo ${VERSION}

.golangci.yml:
wget -O $@ https://github.com/nspcc-dev/.github/raw/master/.golangci.yml
Copy link
Contributor

Choose a reason for hiding this comment

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

1 tab instead of spaces

Copy link
Contributor

Choose a reason for hiding this comment

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

with spaces, it doesn't work for me

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

Adjust Makefile to fetch appropriate .golangci.yml.

Signed-off-by: Roman Khimov <[email protected]>
cmd/neo-exporter/config.go:14:25  godot  Comment should end in a period
cmd/neo-exporter/config.go:17:39  godot  Comment should end in a period
cmd/neo-exporter/config.go:26:44  godot  Comment should end in a period

Signed-off-by: Roman Khimov <[email protected]>
@carpawell carpawell merged commit 75d0a1f into master Sep 10, 2024
16 checks passed
@carpawell carpawell deleted the org-linter branch September 10, 2024 15:59
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.

3 participants