Commit Graph

19 Commits

Author SHA1 Message Date
Titus Wormer
ea19649771
Refactor to use @import 2024-07-15 15:26:09 +02:00
Titus Wormer
906012ec16
Remove remark-lint-no-inline-padding 2023-12-15 15:03:05 +01:00
Titus Wormer
547188ec6f
Refactor docs 2023-12-13 16:54:41 +01:00
Titus Wormer
3d11bb50cf
Add dev-dependency 2023-11-14 08:29:32 +01:00
Titus Wormer
0e79b65cc7
Refactor code style in scripts 2023-11-11 17:47:26 +01:00
Titus Wormer
db9755fe97
Refactor types 2023-05-16 12:21:38 +02:00
Titus
014fca79e0
Add improved docs
Closes GH-276.
2021-12-03 10:06:36 +01:00
Titus Wormer
411f616d0e
Refactor types 2021-11-25 08:48:30 +01:00
Titus Wormer
c5c3832ef9
Mark no-auto-link-without-protocol as deprecated
* 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.
2021-10-08 13:44:46 +02:00
Masafumi Koba
359cd0828e
Add repository.directory field to package.jsons
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>
2021-08-16 11:10:08 +02:00
Titus Wormer
13b1971c5e
Update xo 2021-08-12 14:11:25 +02:00
Titus Wormer
1a1e7cc586
Add JSDoc based types 2021-08-12 14:01:59 +02:00
Titus Wormer
28d4e501b7
Refactor code-style 2021-08-11 15:18:49 +02:00
Titus Wormer
e0ad12089c
Update dev-dependencies 2021-08-11 15:18:48 +02:00
Titus Wormer
f5cb7d27c3
Use ESM 2021-08-11 15:18:43 +02:00
Titus Wormer
7ffbcb6fda
Update dev-dependencies 2021-06-25 10:37:33 +02:00
Titus Wormer
7791db9450
Update for micromark in remark
* 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)
2020-10-12 16:17:56 +02:00
Titus Wormer
6c1b4cf6b0 Refactor code-style 2018-05-19 13:51:23 +02:00
Titus Wormer
c48746a38b Use remark plugins to build lists 2017-03-09 19:48:09 +01:00