From 4956a9ee38f18d46306e0ce37802783f198143ee Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 18 Mar 2018 11:44:57 -0400 Subject: [PATCH] Update ESLint documentation (4.19.0) Fixes #732. --- lib/docs/scrapers/eslint.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/eslint.rb b/lib/docs/scrapers/eslint.rb index 29cf39be..f89d7c19 100644 --- a/lib/docs/scrapers/eslint.rb +++ b/lib/docs/scrapers/eslint.rb @@ -2,7 +2,7 @@ module Docs class Eslint < UrlScraper self.name = 'ESLint' self.type = 'simple' - self.release = '4.18.1' + self.release = '4.19.0' self.base_url = 'https://eslint.org/docs/' self.root_path = 'user-guide/getting-started' self.links = { @@ -14,6 +14,7 @@ module Docs options[:skip_patterns] = [/maintainer-guide/] options[:skip] = %w(about about/ rules) + options[:replace_paths] = { 'user-guide' => 'user-guide/' } options[:attribution] = <<-HTML © JS Foundation and other contributors