mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 00:10:13 +01:00
Add ESLint plugin eslint-plugin-regexp, enable recommended rules, apply all automated fixes (refs #657).
This commit is contained in:
parent
c346e0dbac
commit
6b01a98363
15 changed files with 41 additions and 34 deletions
|
|
@ -13,7 +13,7 @@ module.exports = {
|
|||
filterTokens(params, "heading_open", (token) => {
|
||||
if (headingStyleFor(token) === "atx") {
|
||||
const { line, lineNumber } = token;
|
||||
const match = /^(#+)([ \t]{2,})(?:\S)/.exec(line);
|
||||
const match = /^(#+)([ \t]{2,})\S/.exec(line);
|
||||
if (match) {
|
||||
const [
|
||||
,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue