diff --git a/cli.js b/cli.js index 318f51c..b566e5d 100755 --- a/cli.js +++ b/cli.js @@ -45,9 +45,11 @@ const cli = new CLIEngine({ rules }); -const report = filterer(cli.executeOnFiles(commander.targets), +const report = filterer( + cli.executeOnFiles(commander.targets), commander.errors, - commander.warnings); + commander.warnings +); if (commander.format) { CLIEngine.outputFixes(report); diff --git a/package-lock.json b/package-lock.json index 2ef7a70..42cc91f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1099,9 +1099,9 @@ } }, "eslint-config-videojs": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/eslint-config-videojs/-/eslint-config-videojs-4.0.1.tgz", - "integrity": "sha512-CoMmZmPaEl4/dYXnyET1YIW76kc6Y0GEiSc4vzPhT8Y1k51gAE/nUiiQYBk70MQuQQGlfl6EnGWyFbq2oEChEA==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-videojs/-/eslint-config-videojs-5.0.0.tgz", + "integrity": "sha512-7bFeGImFm0Ig5dc5Z0MOb3gJVRUxiK2hQCl3iL5t3ioM+67kQqxEguq5KkvgonUtb9hS1EuUvUxVHjsITqzTYg==" }, "eslint-plugin-jsdoc": { "version": "3.8.0", diff --git a/package.json b/package.json index 4fc9373..a8978dc 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "commander": "^2.17.1", "eslint": "^5.4.0", - "eslint-config-videojs": "^4.0.1", + "eslint-config-videojs": "^5.0.0", "eslint-plugin-jsdoc": "^3.7.1", "eslint-plugin-json-light": "^1.0.3", "eslint-plugin-markdown": "^1.0.0-beta.8", @@ -82,5 +82,8 @@ "hooks": { "pre-commit": "lint-staged" } + }, + "vjsstandard": { + "jsdoc": false } }