-
Notifications
You must be signed in to change notification settings - Fork 3
Introduce rule documentation #26
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
Conversation
👋 Hello and thanks for pinging us! An accessibility first responder will review this soon.
|
``` | ||
|
||
```md | ||
<!-- Mark decorative images with an empty string --> |
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.
was this comment supposed to go above the first "correct" example?
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.
Indeed, thanks for catching. Fixed!
Co-authored-by: Joyce Zhu <joycezhu@github.com>
Co-authored-by: Joyce Zhu <joycezhu@github.com>
"scripts": { | ||
"publish": "npm publish --access public --@github:registry=https://registry.npmjs.org", | ||
"test": "npm run lint && jest", | ||
"lint": "markdownlint-cli2 \"**/*.{md,mdx}\" \"!node_modules\" \"!test/example.md\" && eslint .", | ||
"lint": "markdownlint-cli2 \"**/*.{md,mdx}\" \"!node_modules\" \"!docs/rules\" \"!test/example.md\" && eslint .", |
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 am excluding our docs because I don't want it to flag our "incorrect' usecase rules. 😅
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.
One suggestion, but it's not blocking merge!
```md | ||
 | ||
``` | ||
|
||
```md | ||
<img alt="Screen Shot 2022-06-26 at 7 41 30 PM" src="https://user-images.githubusercontent.com/abcdef.png"> | ||
``` |
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 really like how you provided examples of both Markdown and HTML techniques!
Co-authored-by: Eric Bailey <ericwbailey@users.noreply.github.com>
#25 must be reviewed first! This PR should be rebased after #25 is merged.Fixes: #12
We don't currently have documentation to the rules. This PR introduces a documentation folder, documentation for each rule, and updates the linter error message to link to the rule doc so that consumers have more context to fix the rules.