mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint * fix: errors from deepscan * fix: errors from deepscan * fix: errors from deepscan * fix: errors from deepscan * fix: errors from deepscan * Update docs/en/joinus/quick-start.md Co-authored-by: Sukka <isukkaw@gmail.com> * Update docs/joinus/quick-start.md Co-authored-by: Sukka <isukkaw@gmail.com> * Update lib/routes/av01/tag.js Co-authored-by: Sukka <isukkaw@gmail.com> * Update lib/routes/gov/taiwan/mnd.js Co-authored-by: Sukka <isukkaw@gmail.com> * Update lib/routes/ps/product.js Co-authored-by: Sukka <isukkaw@gmail.com> * refactor: minify html string Co-authored-by: Sukka <isukkaw@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = async (ctx) => {
|
||||
const name = $('#docContent .content h2').text();
|
||||
|
||||
ctx.state.data = {
|
||||
title: `${name}`,
|
||||
title: name,
|
||||
link,
|
||||
item: ctx.params.caty
|
||||
? $('#docContent .content h3')
|
||||
@@ -42,6 +42,6 @@ module.exports = async (ctx) => {
|
||||
};
|
||||
})
|
||||
.get(),
|
||||
description: `${name}`,
|
||||
description: name,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user