Unified · Split
| @@ -3,11 +3,6 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | 4 | def get_name |
| 5 | 5 | name = at_css('h1').content.strip |
| 6 | − | |
| 7 | − if subpath.start_with?('rules/') && subpath != 'rules/' | |
| 8 | − name = name[/\(([\w\-]+?)\)\z/, 1] || name[/\A([\w\-]+?):/, 1] | |
| 9 | − end | |
| 10 | − | |
| 11 | 6 | name |
| 12 | 7 | end |
| 13 | 8 | |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Eslint < UrlScraper |
| 3 | 3 | self.name = 'ESLint' |
| 4 | 4 | self.type = 'simple' |
| 5 | − self.release = '8.7.0' | |
| 5 | + self.release = '8.10.0' | |
| 6 | 6 | self.base_url = 'https://eslint.org/docs/' |
| 7 | 7 | self.root_path = 'user-guide/getting-started' |
| 8 | 8 | self.links = { |