Update ESLint documentation (4.15.0)

pull/739/merge
Thibaut Courouble 7 years ago
parent 404884919e
commit c97453aa84

@ -12,10 +12,12 @@ module Docs
end
def get_type
if subpath.include?('guide')
type = 'Guide'
if subpath.include?('developer-guide')
'Developer Guide'
elsif subpath.include?('guide')
'Guide'
elsif subpath.start_with?('rules')
type = 'Rules'
'Rules'
end
end
end

@ -2,7 +2,7 @@ module Docs
class Eslint < UrlScraper
self.name = 'ESLint'
self.type = 'simple'
self.release = '4.12.0'
self.release = '4.15.0'
self.base_url = 'https://eslint.org/docs/'
self.root_path = 'user-guide/getting-started'
self.links = {
@ -12,7 +12,7 @@ module Docs
html_filters.push 'eslint/entries', 'eslint/clean_html'
options[:skip_patterns] = [/developer-guide/, /maintainer-guide/]
options[:skip_patterns] = [/maintainer-guide/]
options[:skip] = %w(about about/ rules)
options[:attribution] = <<-HTML

Loading…
Cancel
Save