|
|
@ -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 = '7.30.0'
|
|
|
|
self.release = '8.0.1'
|
|
|
|
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 = {
|
|
|
@ -17,7 +17,7 @@ module Docs
|
|
|
|
options[:replace_paths] = { 'user-guide' => 'user-guide/' }
|
|
|
|
options[:replace_paths] = { 'user-guide' => 'user-guide/' }
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© JS Foundation and other contributors<br>
|
|
|
|
© OpenJS Foundation and other contributors<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|