Update ESLint documentation (8.10.0)

pull/1714/head
Simon Legner 3 years ago
parent c37cc8bf8f
commit bc92b0c409

@ -3,11 +3,6 @@ module Docs
class EntriesFilter < Docs::EntriesFilter class EntriesFilter < Docs::EntriesFilter
def get_name def get_name
name = at_css('h1').content.strip name = at_css('h1').content.strip
if subpath.start_with?('rules/') && subpath != 'rules/'
name = name[/\(([\w\-]+?)\)\z/, 1] || name[/\A([\w\-]+?):/, 1]
end
name name
end end

@ -2,7 +2,7 @@ module Docs
class Eslint < UrlScraper class Eslint < UrlScraper
self.name = 'ESLint' self.name = 'ESLint'
self.type = 'simple' self.type = 'simple'
self.release = '8.7.0' self.release = '8.10.0'
self.base_url = 'https://eslint.org/docs/' self.base_url = 'https://eslint.org/docs/'
self.root_path = 'user-guide/getting-started' self.root_path = 'user-guide/getting-started'
self.links = { self.links = {

Loading…
Cancel
Save