mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 14:30:12 +01:00
Add lint rules from eslint-plugin-node.
This commit is contained in:
parent
6525c36f1e
commit
e1eb81cd21
11 changed files with 61 additions and 19 deletions
|
|
@ -5,9 +5,3 @@ module.exports = window.markdownit;
|
|||
if (!module.exports) {
|
||||
console.error("markdown-it must be loaded before markdownlint.");
|
||||
}
|
||||
|
||||
// Use browser's URL implementation if not available on url module
|
||||
var url = require("url");
|
||||
if (!url.URL) {
|
||||
url.URL = URL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue