Closed azu closed 3 years ago
Add @textlint/config-inliner for inlining prh configration.
@textlint/config-inliner
For example, @textlint/config-inliner convert prh's options like following:
const prhOptions = await prh({ rulePaths: [path.join(__dirname, "fixtures/prh/prh.yml")] }); assert.deepStrictEqual(prhOptions, { rulePaths: [], ruleContents: [fs.readFileSync(path.join(__dirname, "fixtures/prh/prh.yml"), "utf-8")] });
fix #29
Add
@textlint/config-inliner
for inlining prh configration.For example,
@textlint/config-inliner
convert prh's options like following:fix #29