Skip to content

Comments

Golint vet errcheck on ProtonMail fork#32

Open
zugzwang wants to merge 15 commits intoProtonMail:mainfrom
zugzwang:golint-vet-errcheck-protonmail-fork
Open

Golint vet errcheck on ProtonMail fork#32
zugzwang wants to merge 15 commits intoProtonMail:mainfrom
zugzwang:golint-vet-errcheck-protonmail-fork

Conversation

@zugzwang
Copy link
Contributor

@zugzwang zugzwang commented Aug 29, 2019

This branch contains a better linted crypto package with golint, vet, errcheck, deadcode, etc.

  • Export functions, variables, methods, properties with initialisms are not corrected in order to preserve the API.
  • Add or correct comments globally.
  • Fix some shadowed declarations, missing or ghost error checks.

@zugzwang zugzwang mentioned this pull request Aug 29, 2019
Halfway through

Halfway through

Finished first pass

Solving tests.

Relaxing a bit on useless comments, but frowning.

Fix comment

Linted openpgp/packet, at least some of it

Reverting ID -> Id

Reverting Fingerprint -> FingerPrint

Solving tests

Relaxing on some useless comment and reverting Fingerprint -> FingerPrint

Missing parenthesis

Corrected exported object comments globally
@zugzwang zugzwang force-pushed the golint-vet-errcheck-protonmail-fork branch from 66d0d73 to 12366c5 Compare August 30, 2019 10:27
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.

2 participants