mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Tweak rule parameters to avoid confusing the TypeScript type system.
This commit is contained in:
parent
7dc50c125f
commit
1a376f60bb
2 changed files with 5 additions and 4 deletions
|
@ -6741,9 +6741,9 @@ module.exports = {
|
|||
"names": ["MD054", "link-image-style"],
|
||||
"description": "Link and image style",
|
||||
"tags": ["images", "links"],
|
||||
"function": function _function(_ref, onError) {
|
||||
var parsers = _ref.parsers,
|
||||
config = _ref.config;
|
||||
"function": function _function(params, onError) {
|
||||
var parsers = params.parsers,
|
||||
config = params.config;
|
||||
var autolink = config.autolink === undefined || !!config.autolink;
|
||||
var inline = config.inline === undefined || !!config.inline;
|
||||
var reference = config.reference === undefined || !!config.reference;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue