mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
10 lines
347 B
JavaScript
10 lines
347 B
JavaScript
"use strict";
|
|
|
|
// Regular expression for matching common newline characters
|
|
module.exports.newLineRe = /\r\n|\r|\n/;
|
|
|
|
// Regular expression for matching common front matter
|
|
module.exports.frontMatterRe = /^---$[^]*?^---$(\r\n|\r|\n)/m;
|
|
|
|
// readFile options for reading with the UTF-8 encoding
|
|
module.exports.utf8Encoding = { "encoding": "utf8" };
|