mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-19 06:38:55 +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:
@@ -28,7 +28,7 @@ module.exports = async (ctx) => {
|
||||
},
|
||||
json: {
|
||||
size: 5,
|
||||
type: type,
|
||||
type,
|
||||
id: paramId,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user