-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
lint the markdown, closes #3172 #3173
Conversation
the worst was probably the changelog... |
(netlify builds will fail until #3170 is merged) |
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.
awesome! why not use remark-cli instead, i've seen it working superbly for the node-core project. remark configs are very similar to eslint configs.
It has some cool features:
- Loads remark- plugins
- Searches for markdown extensions
- Ignores paths found in .remarkignore files
- Loads configuration from .remarkrc, .remarkrc.js files
- Uses configuration from remarkConfig fields in package.json files
Also i think adding an 80 line length limit would make the md files a lot neater.
@Bamieh Both Given that, why would Mocha need Generally I'm in agreement on the line length, but I think there was a reason I didn't enforce this. I just don't remember what it is... I'll take another look and see if there are any speed bumps here. |
c240edc
to
98a8313
Compare
...looks like one of my changes broke. |
98a8313
to
564b681
Compare
That Netlify preview is pretty awesome. |
564b681
to
c22aad8
Compare
c22aad8
to
df323e7
Compare
@boneskull I suggested remark for mainly because you had to fork We can enforce the 80 line length rule later on as the project sees fit. Awesome work! LGTM |
- add [markdownlint-cli](https://npm.im/markdownlint-cli) - lint all Markdown files - add some rules to `.markdownlintrc`
df323e7
to
b61e91b
Compare
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 🚢
|
add
@mocha/markdownlint-cli
; closes #3172.markdownlint.json
config.editorconfig
lint
target & createmarkdownlint
script inpackage.json
, which is dumb, but we're stuck with it for now