Skip to content

Commit

Permalink
Update dependencies: markdownlint to 0.21.0, markdownlint-rule-helper…
Browse files Browse the repository at this point in the history
…s to 0.12.0, xo to 0.33.1.
  • Loading branch information
DavidAnson committed Oct 2, 2020
1 parent 5d2a742 commit cd3624e
Show file tree
Hide file tree
Showing 3 changed files with 1,029 additions and 929 deletions.
6 changes: 3 additions & 3 deletions markdownlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function readConfiguration(args) {
const projectConfig = markdownlint.readConfigSync(projectConfigFile, configFileParsers);
config = require('deep-extend')(config, projectConfig);
break;
} catch (_) {
} catch {
// Ignore failure
}
}
Expand Down Expand Up @@ -102,7 +102,7 @@ function prepareFileList(files, fileExtensions, previousResults) {

return glob.sync(path.join(file, '**', extensionGlobPart), globOptions);
}
} catch (_) {
} catch {
// Not a directory, not a file, may be a glob
if (previousResults) {
const matcher = new minimatch.Minimatch(path.resolve(processCwd, file), globOptions);
Expand Down Expand Up @@ -209,7 +209,7 @@ function tryResolvePath(filepath) {

// Maybe it is a path to package installed locally
return require.resolve(path.join(processCwd, filepath));
} catch (_) {
} catch {
return filepath;
}
}
Expand Down
Loading

0 comments on commit cd3624e

Please sign in to comment.