From d22cfae2b70f2c2ea2b9b27ec6e924022d41fa1b Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 28 Jun 2019 10:06:01 -0700 Subject: [PATCH] build: use config file for linkinator (#281) --- packages/google-cloud-dns/linkinator.config.json | 7 +++++++ packages/google-cloud-dns/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/google-cloud-dns/linkinator.config.json diff --git a/packages/google-cloud-dns/linkinator.config.json b/packages/google-cloud-dns/linkinator.config.json new file mode 100644 index 00000000000..d780d6bfff5 --- /dev/null +++ b/packages/google-cloud-dns/linkinator.config.json @@ -0,0 +1,7 @@ +{ + "recurse": true, + "skip": [ + "https://codecov.io/gh/googleapis/", + "www.googleapis.com" + ] +} diff --git a/packages/google-cloud-dns/package.json b/packages/google-cloud-dns/package.json index ffae7c0853b..30612acf412 100644 --- a/packages/google-cloud-dns/package.json +++ b/packages/google-cloud-dns/package.json @@ -38,7 +38,7 @@ "fix": "eslint --fix '**/*.js' && gts fix", "prepare": "npm run compile", "pretest": "npm run compile", - "docs-test": "linkinator docs -r --skip www.googleapis.com", + "docs-test": "linkinator docs", "predocs-test": "npm run docs" }, "dependencies": { @@ -67,7 +67,7 @@ "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.6.2", "jsdoc-baseline": "^0.1.0", - "linkinator": "^1.1.2", + "linkinator": "^1.5.0", "mocha": "^6.0.0", "nyc": "^14.0.0", "power-assert": "^1.5.0",