Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Titus <[email protected]>
  • Loading branch information
jablko and wooorm authored Mar 23, 2022
1 parent 6a73341 commit 0bebc1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/unified-lint-rule/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function lintRule(meta, rule) {
return plugin

/** @type {import('unified').Plugin<[unknown]|Array<void>>} */
function plugin(raw, fileSet) {
function plugin(raw) {
const [severity, options] = coerce(ruleId, raw)

if (!severity) return
Expand Down Expand Up @@ -67,7 +67,7 @@ export function lintRule(meta, rule) {
}

next()
}).call(this, tree, file, options, fileSet)
}).call(this, tree, file, options)
}
}
}
Expand Down

0 comments on commit 0bebc1a

Please sign in to comment.