Skip to content

Commit

Permalink
fix(tests): fixed+simplified reference to remark plugins used to chec…
Browse files Browse the repository at this point in the history
…k links

Ticket: None
Changelog: None
Signed-off-by: Manuel Zedel <[email protected]>
  • Loading branch information
mzedel committed Nov 8, 2022
1 parent 484d706 commit d0a03fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions checklinks.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#! /usr/bin/env node

import { remark } from 'remark';
import parse from 'remark-parse';
import stringify from 'remark-stringify';
import { engine } from 'unified-engine';

import yargs from 'yargs';
Expand All @@ -17,7 +15,6 @@ engine(
extensions: ['md'],
pluginPrefix: 'remark',
packageField: 'remarkConfig',
injectedPlugins: [parse, stringify],
quiet: !argv.verbose,
color: argv.color,
frail: true
Expand Down
10 changes: 3 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
"dependencies": {
"remark-cli": "^11.0.0",
"remark-validate-links": "https://github.com/oleorhagen/remark-validate-links#grav-slug",
"github-slugger": "https://github.com/oleorhagen/github-slugger#grav-slug",
"yargs": "^17.6.0"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit d0a03fb

Please sign in to comment.