mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Update dependency: globby to 12.0.2.
This commit is contained in:
parent
05b9e6e43c
commit
11e9a20531
4 changed files with 29 additions and 24 deletions
|
|
@ -6,7 +6,6 @@ const { existsSync } = require("fs");
|
|||
// eslint-disable-next-line unicorn/import-style
|
||||
const { join } = require("path");
|
||||
const { promisify } = require("util");
|
||||
const globby = require("globby");
|
||||
const jsYaml = require("js-yaml");
|
||||
const test = require("ava").default;
|
||||
const markdownlint = require("../lib/markdownlint");
|
||||
|
|
@ -25,6 +24,8 @@ const readConfigPromise = promisify(markdownlint.readConfig);
|
|||
async function lintTestRepo(t, globPatterns, configPath, ignoreRes) {
|
||||
t.plan(1);
|
||||
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
||||
const { globby } = await import("globby");
|
||||
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
||||
const { "default": stripJsonComments } = await import("strip-json-comments");
|
||||
const jsoncParse = (json) => JSON.parse(stripJsonComments(json));
|
||||
const yamlParse = (yaml) => jsYaml.load(yaml);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue