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

Add linting for public documentation #45

Merged
merged 3 commits into from
Sep 27, 2023
Merged

Add linting for public documentation #45

merged 3 commits into from
Sep 27, 2023

Conversation

andresuribe87
Copy link
Contributor

Overview

This PR modifies the detekt configuration to check undocumented public functions and classes. All instances that were offending have been fixed as well with the help of Chad.

Description

See above.

How Has This Been Tested?

No functional changes.

@andresuribe87 andresuribe87 marked this pull request as ready for review September 27, 2023 21:33
@@ -1,3 +1,6 @@
/**
* A utility object for Base58 encoding and decoding.
*/
public object Base58Btc {
private val ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Contributor

Choose a reason for hiding this comment

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

@nitro-neal, there's more context on the crypto branch here

Currently, Base58Btc is used for did:key

@@ -1,3 +1,6 @@
/**
* A utility object for Base58 encoding and decoding.
*/
public object Base58Btc {
private val ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No idea lol. It was already in there.

Copy link
Contributor

@nitro-neal nitro-neal left a comment

Choose a reason for hiding this comment

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

🆗 ✅

@andresuribe87 andresuribe87 merged commit 311851a into main Sep 27, 2023
@mistermoe mistermoe deleted the better_lint branch November 1, 2023 00:31
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