From 058f795e7614069615398185b5f28178d3b644b3 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 28 Jun 2019 10:07:29 -0700 Subject: [PATCH] build: use config file for linkinator (#396) --- packages/google-cloud-speech/linkinator.config.json | 7 +++++++ packages/google-cloud-speech/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/google-cloud-speech/linkinator.config.json diff --git a/packages/google-cloud-speech/linkinator.config.json b/packages/google-cloud-speech/linkinator.config.json new file mode 100644 index 00000000000..d780d6bfff5 --- /dev/null +++ b/packages/google-cloud-speech/linkinator.config.json @@ -0,0 +1,7 @@ +{ + "recurse": true, + "skip": [ + "https://codecov.io/gh/googleapis/", + "www.googleapis.com" + ] +} diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index e0991387384..a7c8a94f5ee 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -37,7 +37,7 @@ "test-no-cover": "mocha test/*.js", "test": "npm run cover", "fix": "eslint --fix '**/*.js'", - "docs-test": "linkinator docs -r --skip www.googleapis.com", + "docs-test": "linkinator docs", "predocs-test": "npm run docs" }, "dependencies": { @@ -63,6 +63,6 @@ "prettier": "^1.13.5", "proxyquire": "^2.1.0", "sinon": "^7.0.0", - "linkinator": "^1.1.2" + "linkinator": "^1.5.0" } }