-
Notifications
You must be signed in to change notification settings - Fork 107
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 markdown linter #261
Add markdown linter #261
Conversation
@dblock can we open permissions to write repository? It is necessary to push formatted code P.S. tests are failed, since they are runs in this repository and looks up source branch (zethuman:feature/markdown-linter) |
|
9529ee0
to
0da56b2
Compare
Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
@dblock ok, agree with this. Added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add to the developer guide that one is supposed to run a markdown linter before committing?
Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
Add makefile script to check for format and updated developer guide |
Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just needs to actually fix the violations :)
[warn] Code style issues found in 7 files. Forgot to run Prettier?
Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an option to prettier to format tables? Many editors auto-format those these days.
@dblock sorry, lost your message. Can you provide an example of how it is now and how it should be. For me, everything works pretty well in terms of table formatting |
Yeah it's NBD, if you look at the diff here you will see that prettier got rid of spaces, so it's harder to read in an editor. |
I opened an issue on the developer side of the tool, we will figure it out what is wrong |
* Add linter for markdown files Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add make-script and update DEVELOPER_GUIDE.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated linter options Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Fixed mmarkdown files format Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> --------- Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
* Add linter for markdown files Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add make-script and update DEVELOPER_GUIDE.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated linter options Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Fixed mmarkdown files format Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> --------- Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
* Add linter for markdown files Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add make-script and update DEVELOPER_GUIDE.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated linter options Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Fixed mmarkdown files format Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> --------- Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
* Add linter for markdown files Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add make-script and update DEVELOPER_GUIDE.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated linter options Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Fixed mmarkdown files format Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> --------- Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com>
* Added @Jakob3xD as a co-maintainer. (#270) Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Bump github.com/aws/aws-sdk-go from 1.44.230 to 1.44.235 (#271) * Bump github.com/aws/aws-sdk-go from 1.44.230 to 1.44.235 Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.230 to 1.44.235. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Commits](aws/aws-sdk-go@v1.44.230...v1.44.235) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add markdown linter (#261) * Add linter for markdown files Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add make-script and update DEVELOPER_GUIDE.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated linter options Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Fixed mmarkdown files format Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> --------- Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Added Jakob3xD to CODEOWNERS, removed @svencowart. (#272) Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add index_lifecycle guide Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Updated CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * opensearchapi: Fix handling of errors without error response body (#286) Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com> Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add bulk guide Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Update CHANGELOG.md Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add document_lifecycle guide Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add indent to go code Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> * Add indent to go code Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> --------- Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: Rakhat Zhuman <zhumanrakhat01@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@dblock.org> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakob <jakob.hahn@hetzner.com>
Description
Add a linter that formats markdown files with prettier
Issues Resolved
Closes [#260].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.