mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Minor updates to CONTRIBUTING.md, indefinite article fixes for Rules.md.
This commit is contained in:
parent
0acc578e52
commit
ff40130e3e
2 changed files with 15 additions and 12 deletions
|
|
@ -23,7 +23,7 @@ Try to break the new code now, or else it will get broken later.
|
|||
|
||||
Run tests before sending a pull request via `npm test` in the [usual manner](https://docs.npmjs.com/misc/scripts).
|
||||
Tests should all pass on all platforms.
|
||||
The test runner is [nodeunit](https://www.npmjs.com/package/nodeunit) and test cases are located in `test/markdownlint-test.js`.
|
||||
The test runner is [tape](https://www.npmjs.com/package/tape) and test cases are located in `test/markdownlint-test.js`.
|
||||
When running tests, `test/*.md` files are enumerated, linted, and fail if any violations are missing a corresponding `{MD###}` marker in the test file.
|
||||
For example, the line `### Heading {MD001}` is expected to trigger the rule `MD001`.
|
||||
For cases where the marker text can not be present on the same line, the syntax `{MD###:#}` can be used to include a line number.
|
||||
|
|
@ -32,8 +32,8 @@ If `some-test.md` needs custom configuration, a `some-test.json` is used to prov
|
|||
Lint before sending a pull request by running `npm run lint`.
|
||||
There should be no issues.
|
||||
|
||||
Run code coverage before sending a pull request with `npm run test-cover`.
|
||||
Coverage should remain at 100%.
|
||||
Run a full continuous integration pass before sending a pull request via `npm run ci`.
|
||||
Code coverage should remain at 100%.
|
||||
|
||||
Pull requests should contain a single commit.
|
||||
If necessary, squash multiple commits before creating the pull request and when making changes.
|
||||
|
|
@ -42,6 +42,9 @@ If necessary, squash multiple commits before creating the pull request and when
|
|||
Open pull requests against the `next` branch.
|
||||
That's where the latest changes are staged for the next release.
|
||||
Include the text "(fixes #??)" at the end of the commit message so the pull request will be associated with the relevant issue.
|
||||
End commit messages with a period (`.`).
|
||||
Once accepted, the tag `fixed in next` will be added to the issue.
|
||||
When the commit is merged to the main branch during the release process, the issue will be closed automatically.
|
||||
(See [Closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/) for details.)
|
||||
|
||||
Thank you!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue