mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Remove yaml package as a (dev) dependency.
This commit is contained in:
parent
58ad0a3543
commit
ac47b5772f
2 changed files with 6 additions and 7 deletions
|
@ -95,8 +95,7 @@
|
|||
"toml": "3.0.0",
|
||||
"typescript": "5.3.3",
|
||||
"webpack": "5.90.2",
|
||||
"webpack-cli": "5.1.4",
|
||||
"yaml": "2.3.4"
|
||||
"webpack-cli": "5.1.4"
|
||||
},
|
||||
"keywords": [
|
||||
"markdown",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
const fs = require("node:fs");
|
||||
const path = require("node:path");
|
||||
const yaml = require("yaml");
|
||||
const yaml = require("js-yaml");
|
||||
const configSchema = require("./markdownlint-config-schema.json");
|
||||
|
||||
const configExample = {};
|
||||
|
@ -41,12 +41,12 @@ fs.writeFileSync(
|
|||
"utf8"
|
||||
);
|
||||
|
||||
const configStringYaml = yaml.stringify(
|
||||
const configStringYaml = yaml.dump(
|
||||
configExample,
|
||||
{
|
||||
"lineWidth": 0,
|
||||
"defaultStringType": "QUOTE_DOUBLE",
|
||||
"defaultKeyType": "PLAIN"
|
||||
"forceQuotes": true,
|
||||
"lineWidth": -1,
|
||||
"quotingType": "\""
|
||||
}
|
||||
);
|
||||
fs.writeFileSync(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue