mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-02 10:08:02 +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:
@@ -59,7 +59,7 @@ const tStringParser = (html, customFormat = undefined, lang = 'en', htmlOffset =
|
||||
Object.values(dayjs.Ls).forEach((k) => {
|
||||
['weekdays', 'weekdaysShort'].forEach((x) => {
|
||||
if (k.hasOwnProperty(x)) {
|
||||
const a = k[x].map((z) => `${z}`);
|
||||
const a = k[x].map((z) => z);
|
||||
removeStr = removeStr.concat(...a);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user