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

feat(parser): discussion check #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cryptoryda
Copy link

Add a new check for the discussion field in the ARC metadata.

We have already const requiredMetadata = ['arc', 'title', 'authors', 'discussion', 'topic', 'status', 'created'];

but we can do it with condition check like if-else

Copy link
Collaborator

@d0cd d0cd left a comment

Choose a reason for hiding this comment

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

Thank you for the submission!
The principle is sound, but the implementation needs work.
As we are currently revamping the ARCs process, we plan to resolve this PR by on February 10th, 2025.

*/
// Add a new check for the discussion field in the ARC metadata

if (!metadata.hasOwnProperty('discussion') || !metadata.discussion.trim()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be added to checkArcReadmeContent?

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