From f6cfb7486e0c83dd6987627a1b0481e237229281 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 28 Jun 2019 10:05:34 -0700 Subject: [PATCH] build: use config file for linkinator (#335) --- packages/google-cloud-compute/linkinator.config.json | 7 +++++++ packages/google-cloud-compute/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/google-cloud-compute/linkinator.config.json diff --git a/packages/google-cloud-compute/linkinator.config.json b/packages/google-cloud-compute/linkinator.config.json new file mode 100644 index 00000000000..d780d6bfff5 --- /dev/null +++ b/packages/google-cloud-compute/linkinator.config.json @@ -0,0 +1,7 @@ +{ + "recurse": true, + "skip": [ + "https://codecov.io/gh/googleapis/", + "www.googleapis.com" + ] +} diff --git a/packages/google-cloud-compute/package.json b/packages/google-cloud-compute/package.json index 2df79e90c2b..2538d26a2d5 100644 --- a/packages/google-cloud-compute/package.json +++ b/packages/google-cloud-compute/package.json @@ -31,7 +31,7 @@ "system-test": "mocha system-test/*.js --timeout 1200000", "test": "nyc mocha", "fix": "eslint --fix '**/*.js'", - "docs-test": "linkinator docs -r --skip www.googleapis.com", + "docs-test": "linkinator docs", "predocs-test": "npm run docs" }, "dependencies": { @@ -56,7 +56,7 @@ "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.6.2", "jsdoc-baseline": "^0.1.0", - "linkinator": "^1.4.2", + "linkinator": "^1.5.0", "mocha": "^6.0.0", "nyc": "^14.0.0", "power-assert": "^1.5.0",