Commit Graph

79 Commits

Author SHA1 Message Date
Titus Wormer
45aeac273a
Add better messages, rewrite and improve rules 2024-01-19 17:32:43 +01:00
Titus Wormer
655ba54202
Add better support for gfm, directives, math, mdx 2023-12-16 15:01:48 +01:00
Titus Wormer
7ca5d3ca7a
unified-lint-rule: rename RuleMeta type to Meta 2023-12-15 15:22:28 +01:00
Titus Wormer
be2650a2b9
Refactor example 2023-12-15 15:03:09 +01:00
Titus Wormer
906012ec16
Remove remark-lint-no-inline-padding 2023-12-15 15:03:05 +01:00
Titus Wormer
627363b2a2
Refactor more code, improve small things 2023-12-15 12:57:49 +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
19251fc5ab
Refactor code-style 2023-11-13 16:14:01 +01:00
Titus Wormer
0e79b65cc7
Refactor code style in scripts 2023-11-11 17:47:26 +01:00
Titus Wormer
db4810d891
Refactor remark config 2023-11-10 10:39:26 +01:00
Titus Wormer
255ca39799
Update unified, @types/mdast, etc 2023-11-09 14:45:02 +01:00
Titus Wormer
db9755fe97
Refactor types 2023-05-16 12:21:38 +02:00
Titus Wormer
0beb67b739
Refactor tsconfigs to improve build perf 2023-05-16 10:54:35 +02:00
Titus Wormer
4a45edff6e
Update dev-dependencies 2023-05-16 10:17:11 +02:00
Titus Wormer
f9a82c73d3
Update dev-dependencies 2022-09-09 20:17:08 +02:00
Titus Wormer
a3f5b01c6d
Replace skypack w/ esm.sh 2022-04-02 12:01:56 +02:00
Jack Bates
a9ef2082fe
Update build scripts to use improved settings
Closes GH-286

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2022-03-31 18:37:59 +02:00
Titus
014fca79e0
Add improved docs
Closes GH-276.
2021-12-03 10:06:36 +01:00
Titus Wormer
96e8c4f543
Update dev-dependencies 2021-11-29 19:56:44 +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
Remco Haszing
201e995044
Add urls pointing to docs on all messages
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Titus Wormer <tituswormer@gmail.com>

Closes GH-272.
Closes GH-273.
2021-09-18 12:54:49 +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
5c215ec00b
Fix windows 2021-08-11 16:47:42 +02:00
Titus Wormer
5c398a8213
Replace dox w/ comment-parser 2021-08-11 16:41:00 +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
e7a7701963
Update docs 2021-08-11 15:18:48 +02:00
Titus Wormer
f5cb7d27c3
Use ESM 2021-08-11 15:18:43 +02:00
Titus Wormer
e633c2fbb7
Replace nyc with c8 2021-08-10 15:37:18 +02:00
Titus Wormer
7ffbcb6fda
Update dev-dependencies 2021-06-25 10:37:33 +02:00
Titus Wormer
00a6312656
Use Actions 2021-02-16 11:18:37 +01:00
Titus Wormer
5d9631cf5c
Update dev-dependencies 2021-02-16 11:14:45 +01:00
Titus Wormer
7cd0cde7c8
Remove unused dev-dependencies 2020-10-14 13:46:30 +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
ed33247153
Add Discussions 2020-08-22 15:33:21 +02:00
Titus Wormer
b40fe0f43e
Change master in links 2020-06-23 12:00:43 +02:00
Titus Wormer
acec739a4b
Refactor prose
…and improve some error messages
2020-03-24 11:35:17 +01:00
Titus Wormer
3a00413c97
Update dev-dependencies 2020-03-24 10:20:35 +01:00
Titus Wormer
d7750be12e
Add badges, contributing, etc to packages 2019-06-20 11:42:27 +02:00
Titus Wormer
bdbdc9c10d Refactor code-style 2018-11-22 12:25:55 +01:00
Titus Wormer
c106224776 Update dev-dependencies 2018-10-23 09:40:18 +02:00
Titus Wormer
38fcb399eb Move LICENSE > license 2018-10-23 09:30:30 +02:00
Titus Wormer
6c1b4cf6b0 Refactor code-style 2018-05-19 13:51:23 +02:00
Titus Wormer
30a25675f2 Fix options in presets in documentation 2017-08-17 15:18:04 +02:00
Titus Wormer
282d27606d Refactor readme.mds
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.
2017-08-17 13:52:59 +02:00
Titus Wormer
799f26f601 Remove superfluous comments 2017-07-23 11:56:34 -04:00