Update ESLint documentation (8.30.0)

pull/1896/head
Simon Legner 2 years ago
parent 979c8a32ae
commit 9e5205cfaf

@ -13,6 +13,7 @@ module Docs
node.before(node.children).remove
end
css('.line-numbers-wrapper').remove
css('pre.hljs').each do |node|
lang = node['class'][/highlight-(\w+)/, 1]
node['data-language'] = lang if lang
@ -23,6 +24,8 @@ module Docs
css('code', 'p').remove_attr('class')
css('.resource__image', '.resource__domain').remove
doc
end
end

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

Loading…
Cancel
Save