-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix(docs): add markdownlint and apply rules #4557
Conversation
gonna take a look |
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 3 |
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.
why this?
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.
I mentioned it in the OP too; lots of files seem to have 3 indentation size, rather than even, so went with it to make sure its consistent - reindenting to 2 or 4 is something I can do as a follow-up (going to be braindead work lol)
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.
oh okay, let's followup on this 😄
@@ -1,3 +1,6 @@ | |||
--- | |||
aside: false |
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.
these hides the right nav; those page looks better without them, and it only has a single item there anyway
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.
make sense 👍
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.
lgtm just one minor question about the indent_size for md
Love it, 🚢 |
what
npm run website:lint
to check lintingnpm run website:lint-fix
to check + fix linting where possible.editorconfig
to ensure indentation and such are consistent out the box (I picked the oddindent_size: 3
since it what most docs seem to be indented with, normally its 2 or 4, but thats something for future improvements?)why
Consistency is nice
tests
N/A
references
N/A