From 65152d2da73a6c4a96441251466cde78724e8131 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 28 Jun 2019 10:07:53 -0700 Subject: [PATCH] build: use config file for linkinator (#408) --- packages/google-cloud-vision/linkinator.config.json | 7 +++++++ packages/google-cloud-vision/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/google-cloud-vision/linkinator.config.json diff --git a/packages/google-cloud-vision/linkinator.config.json b/packages/google-cloud-vision/linkinator.config.json new file mode 100644 index 00000000000..d780d6bfff5 --- /dev/null +++ b/packages/google-cloud-vision/linkinator.config.json @@ -0,0 +1,7 @@ +{ + "recurse": true, + "skip": [ + "https://codecov.io/gh/googleapis/", + "www.googleapis.com" + ] +} diff --git a/packages/google-cloud-vision/package.json b/packages/google-cloud-vision/package.json index cfbefa973fd..5f2fd6a11ab 100644 --- a/packages/google-cloud-vision/package.json +++ b/packages/google-cloud-vision/package.json @@ -36,7 +36,7 @@ "test-no-cover": "mocha test/*.js", "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": { @@ -61,6 +61,6 @@ "prettier": "^1.13.6", "sinon": "^7.0.0", "uuid": "^3.3.0", - "linkinator": "^1.1.2" + "linkinator": "^1.5.0" } }