Add lint rules from eslint-plugin-node.

This commit is contained in:
David Anson 2020-09-06 19:49:35 -07:00
parent 6525c36f1e
commit e1eb81cd21
11 changed files with 61 additions and 19 deletions

View file

@ -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;
}