Commit graph

14 commits

Author SHA1 Message Date
David Anson
a9a77940c5 Remove rule aliases for "header" (deprecated in v0.9.0). 2023-11-09 20:05:30 -08:00
David Anson
c06506c317 Reimplement MD026/no-trailing-punctuation using micromark tokens, ignore trailing GitHub emoji codes, improve tests (fixes #457). 2023-06-24 15:47:06 -07:00
David Anson
6b01a98363 Add ESLint plugin eslint-plugin-regexp, enable recommended rules, apply all automated fixes (refs #657). 2022-12-19 21:36:24 -08:00
David Anson
b6121341b9 Fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-01-20 20:02:14 -08:00
David Anson
c693a9a3d8 Update MD026/no-trailing-punctuation to ignore the trailing semicolon of HTML entity references (fixes #320). 2020-11-23 15:23:39 -08:00
David Anson
6c1bc8ecb5 Allow question mark by default for MD026/no-trailing-punctuation (fixes #276). 2020-11-17 20:32:17 -08:00
David Anson
3238ed4249 Update all rules to better handle wrongly-typed configuration parameters. 2020-01-25 18:40:39 -08:00
David Anson
0502e370de Update MD026/MD030 to report fixInfo for violations. 2019-09-11 22:59:42 -07:00
David Anson
91b4fcd55f Update MD026/no-trailing-punctuation to handle empty punctuation paramater, escape for RegExp (fixes #205). 2019-07-26 23:03:56 -07:00
David Anson
1d8b9e7e62 Add full-width punctuation characters to MD026/no-trailing-punctuation and MD036/no-emphasis-as-heading (fixes #192). 2019-06-06 22:21:31 -07:00
David Anson
7e980401b8 Expose shared.js helper code for custom rule authors (fixes #134). 2019-04-13 11:18:57 -07:00
David Anson
213aef4564 Convert var to const/let (except in browser-only code). 2018-04-27 22:05:34 -07:00
Milos Levacic
45424cf459 Change "header" to "heading" across the library
This should be backward compatible, as all "header" aliases are still
available, though documented as discouraged for future use.
2018-04-18 22:27:48 -07:00
David Anson
9ba143555d Move each rule implementation into its own file (fixes #83). 2018-01-21 21:44:25 -08:00