|
|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
|
class Eslint < UrlScraper
|
|
|
|
|
self.name = 'ESLint'
|
|
|
|
|
self.type = 'simple'
|
|
|
|
|
self.release = '8.30.0'
|
|
|
|
|
self.release = '8.56.0'
|
|
|
|
|
self.base_url = 'https://eslint.org/docs/latest/'
|
|
|
|
|
self.root_path = 'user-guide/getting-started'
|
|
|
|
|
self.links = {
|
|
|
|
@ -12,8 +12,8 @@ module Docs
|
|
|
|
|
|
|
|
|
|
html_filters.push 'eslint/entries', 'eslint/clean_html'
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] = [/maintainer-guide/]
|
|
|
|
|
options[:skip] = %w(about about/ rules versions)
|
|
|
|
|
options[:skip_patterns] = [/maintain/, /migrating/, /migrate/, /\Aversions/, /rule-deprecation/]
|
|
|
|
|
options[:skip] = %w(about about/ versions)
|
|
|
|
|
options[:replace_paths] = { 'user-guide' => 'user-guide/' }
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|