From bc92b0c409d1f6d8b084cf469c04f869855cafed Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 1 Mar 2022 18:05:17 +0100 Subject: [PATCH] Update ESLint documentation (8.10.0) --- lib/docs/filters/eslint/entries.rb | 5 ----- lib/docs/scrapers/eslint.rb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/docs/filters/eslint/entries.rb b/lib/docs/filters/eslint/entries.rb index 42b66f36..18c76dce 100644 --- a/lib/docs/filters/eslint/entries.rb +++ b/lib/docs/filters/eslint/entries.rb @@ -3,11 +3,6 @@ module Docs class EntriesFilter < Docs::EntriesFilter def get_name name = at_css('h1').content.strip - - if subpath.start_with?('rules/') && subpath != 'rules/' - name = name[/\(([\w\-]+?)\)\z/, 1] || name[/\A([\w\-]+?):/, 1] - end - name end diff --git a/lib/docs/scrapers/eslint.rb b/lib/docs/scrapers/eslint.rb index 8208488c..9dece80f 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 = '8.7.0' + self.release = '8.10.0' self.base_url = 'https://eslint.org/docs/' self.root_path = 'user-guide/getting-started' self.links = {