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: replace markdownlint with prettier Markdown auto-formatting #123

Conversation

tk-woven
Copy link
Collaborator

@tk-woven tk-woven commented Aug 15, 2022

Description

This is toward #114 . SuperLinter uses markdownlint for linting Markdown. When running the latest version on DGP, I found many violations. Instead of manually requiring conformance to specific style, I replace markdownlint with prettier which will auto-format Markdown files for us.

I've also disabled the natural language validator since there is no corresponding pre-commit hook for it. I don't think this validator is critical. What's more important is that we enforce clear meaning in prose in code review.

Lastly, I've built the docs locally and glanced over them (rather quickly). Everything seems to be okay still, including the PDF generated by rinoh.

This change is Reviewable

@tk-woven tk-woven changed the title Feat/tyler kowallis/use pre commit for linting 3 feat: replace markdownlint with prettier Markdown auto-formatting Aug 15, 2022
This also disables natural language validation since there is no
corresponding pre-commit hook. We deem this check non-critical and in
its place continue to enforce clear meaning in natural language in code
reivews.
@tk-woven tk-woven force-pushed the feat/tyler-kowallis/use-pre-commit-for-linting-3 branch from 2cdab9d to 51e1fb2 Compare August 17, 2022 21:59
@tk-woven tk-woven marked this pull request as ready for review August 17, 2022 21:59
Copy link
Collaborator

@wadimkehl wadimkehl left a comment

Choose a reason for hiding this comment

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

NICE!

Reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @chrisochoatri and @kuanleetri)

@tk-woven
Copy link
Collaborator Author

Thanks!

@tk-woven tk-woven merged commit a2c6c12 into TRI-ML:master Aug 22, 2022
@tk-woven tk-woven deleted the feat/tyler-kowallis/use-pre-commit-for-linting-3 branch September 6, 2022 00:21
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