Skip to content

refactor: simplify shortcuts property with Object.fromEntries#1274

Open
singhankit001 wants to merge 1 commit intowulkano:mainfrom
singhankit001:refactor/modernize-settings
Open

refactor: simplify shortcuts property with Object.fromEntries#1274
singhankit001 wants to merge 1 commit intowulkano:mainfrom
singhankit001:refactor/modernize-settings

Conversation

@singhankit001
Copy link
Copy Markdown

Replaced reduce with Object.fromEntries for the shortcuts property definition. This makes the code more readable and allows removing the eslint-disable comment for unicorn/no-array-reduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant