mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-18 13:36:36 +08:00
style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax * refactor: prefer Array#map over Array#forEach * style: prefer arrow callback * chore(eslint): update rules * style: auto fix by eslint
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = async (ctx) => {
|
||||
ctx.state.data = {
|
||||
title: username + state,
|
||||
link: `https://leetcode.com/${user}`,
|
||||
description: description,
|
||||
description,
|
||||
item: result,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user