mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Add Istanbul for code coverage, parameter tests for 100% coverage.
This commit is contained in:
parent
285a30e124
commit
77da8da9cf
3 changed files with 39 additions and 0 deletions
|
@ -52,6 +52,7 @@ function lintFile(file, config, callback) {
|
|||
|
||||
module.exports = function markdownlint(options, callback) {
|
||||
options = options || {};
|
||||
callback = callback || function noop() {};
|
||||
var files = options.files || [];
|
||||
var config = options.config || { "default": true };
|
||||
var results = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue