markdownlint-cli 0.23.2 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/markdownlint.js +3 -3
  2. package/package.json +4 -4
package/markdownlint.js CHANGED
@@ -49,7 +49,7 @@ function readConfiguration(args) {
49
49
  const projectConfig = markdownlint.readConfigSync(projectConfigFile, configFileParsers);
50
50
  config = require('deep-extend')(config, projectConfig);
51
51
  break;
52
- } catch (_) {
52
+ } catch {
53
53
  // Ignore failure
54
54
  }
55
55
  }
@@ -102,7 +102,7 @@ function prepareFileList(files, fileExtensions, previousResults) {
102
102
 
103
103
  return glob.sync(path.join(file, '**', extensionGlobPart), globOptions);
104
104
  }
105
- } catch (_) {
105
+ } catch {
106
106
  // Not a directory, not a file, may be a glob
107
107
  if (previousResults) {
108
108
  const matcher = new minimatch.Minimatch(path.resolve(processCwd, file), globOptions);
@@ -209,7 +209,7 @@ function tryResolvePath(filepath) {
209
209
 
210
210
  // Maybe it is a path to package installed locally
211
211
  return require.resolve(path.join(processCwd, filepath));
212
- } catch (_) {
212
+ } catch {
213
213
  return filepath;
214
214
  }
215
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdownlint-cli",
3
- "version": "0.23.2",
3
+ "version": "0.24.0",
4
4
  "description": "MarkdownLint Command Line Interface",
5
5
  "main": "markdownlint.js",
6
6
  "bin": {
@@ -46,8 +46,8 @@
46
46
  "jsonc-parser": "~2.2.0",
47
47
  "lodash.differencewith": "~4.5.0",
48
48
  "lodash.flatten": "~4.4.0",
49
- "markdownlint": "~0.20.4",
50
- "markdownlint-rule-helpers": "~0.11.0",
49
+ "markdownlint": "~0.21.0",
50
+ "markdownlint-rule-helpers": "~0.12.0",
51
51
  "minimatch": "~3.0.4",
52
52
  "minimist": "~1.2.5",
53
53
  "rc": "~1.2.7"
@@ -58,7 +58,7 @@
58
58
  "husky": "^3.0.4",
59
59
  "tap-growl": "^3.0.0",
60
60
  "test-rule-package": "./test/custom-rules/test-rule-package",
61
- "xo": "*"
61
+ "xo": "^0.33.1"
62
62
  },
63
63
  "xo": {
64
64
  "space": true,