mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-22 08:50: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
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
const { addErrorContext, filterTokens } = require("../helpers");
|
||||
|
||||
const spaceBeforeHeadingRe = /^((?:\s+)|(?:[>\s]+\s\s))[^>\s]/;
|
||||
const spaceBeforeHeadingRe = /^(\s+|[>\s]+\s\s)[^>\s]/;
|
||||
|
||||
module.exports = {
|
||||
"names": [ "MD023", "heading-start-left", "header-start-left" ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue