* Add internal support for deprecated packages in tooling
* Remove `remark-lint-no-auto-link-without-protocol` from presets
* Add info to `remark-lint-no-auto-link-without-protocol` on why it’s deprecated
Related to remarkjs/remark#863.
This change updates the `repository` field in all `package.json`s to add a `directory`.
This also modifies the scripts to get the repository URLs.
Closes GH-268.
Closes GH-269.
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
* Update to a micromark parser
* The markdown parser is now CommonMark compliant
* Several rules work on GFM features (literal autolinks, tables,
strikethrough, tasklist).
Make sure to install `remark-gfm` if you’re using GFM
* A couple of positions in messages moved a tad bit to make more sense
Most plugins are fine, but some received majors.
The following plugins are made for the new parser and do not work on
the old.
While you’re still on remark 12, use their previous version.
Use the new versions for remark 13+.
* `remark-lint-checkbox-character-style`
* `remark-lint-checkbox-content-indent`
* `remark-lint-list-item-bullet-indent`
* `remark-lint-list-item-spacing`
* `remark-lint-no-blockquote-without-marker`
* `remark-lint-no-heading-indent`
* `remark-lint-no-paragraph-content-indent`
* `remark-lint-no-table-indentation`
* `remark-lint-table-cell-padding`
* `remark-lint-table-pipes`
These plugins generally work on old and new remark, but might miss some
messages in the old one now:
* `remark-lint-no-consecutive-blank-lines` (extra blank lines can no
longer break out of lists)
* `remark-lint-no-heading-content-indent` (pedantic mode no longer
supported)
* `remark-lint-no-inline-padding` (emphasis, strong, strikethrough
can’t be padded anymore)
* `remark-lint-no-undefined-references` (undefined references are no
longer parsed, so we have to do magic to find them)
This commit rewrites most of the documentation per rule and preset,
`remark-lint` itself, and `unified-lint-rule`.
* Better and more readable automatic examples
* Check and update all rule descriptions
* Use middot (·) and line-feed (␊) for relevant examples
* Unify descriptions of `'consistent`'
* Add some more docs where needed
Closes GH-158.