From 72e109c3c74b3d15e31dd936ea90b738549caf96 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 28 Jun 2019 11:27:43 -0700 Subject: [PATCH] build: use config file for linkinator (#275) --- packages/google-cloud-monitoring/linkinator.config.json | 7 +++++++ packages/google-cloud-monitoring/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/google-cloud-monitoring/linkinator.config.json diff --git a/packages/google-cloud-monitoring/linkinator.config.json b/packages/google-cloud-monitoring/linkinator.config.json new file mode 100644 index 00000000000..d780d6bfff5 --- /dev/null +++ b/packages/google-cloud-monitoring/linkinator.config.json @@ -0,0 +1,7 @@ +{ + "recurse": true, + "skip": [ + "https://codecov.io/gh/googleapis/", + "www.googleapis.com" + ] +} diff --git a/packages/google-cloud-monitoring/package.json b/packages/google-cloud-monitoring/package.json index a4c15c8d068..e6ec9459cc9 100644 --- a/packages/google-cloud-monitoring/package.json +++ b/packages/google-cloud-monitoring/package.json @@ -38,7 +38,7 @@ "test-no-cover": "mocha test/*.js", "test": "npm run cover", "fix": "eslint '**/*.js' --fix", - "docs-test": "linkinator docs -r --skip www.googleapis.com", + "docs-test": "linkinator docs", "predocs-test": "npm run docs" }, "dependencies": { @@ -58,6 +58,6 @@ "nyc": "^14.0.0", "power-assert": "^1.4.4", "prettier": "^1.7.4", - "linkinator": "^1.1.2" + "linkinator": "^1.5.0" } }