mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-28 21:41:22 +08:00
Add two eslint plugins (#24776)
Add these two plugins and autofix issues: - [eslint-plugin-no-use-extend-native](https://github.com/dustinspecker/eslint-plugin-no-use-extend-native) - [eslint-plugin-array-func](https://github.com/freaktechnik/eslint-plugin-array-func)
This commit is contained in:
@ -15,7 +15,7 @@ function moveIssue({item, from, to, oldIndex}) {
|
||||
updateIssueCount(to);
|
||||
|
||||
const columnSorting = {
|
||||
issues: [...columnCards].map((card, i) => ({
|
||||
issues: Array.from(columnCards, (card, i) => ({
|
||||
issueID: parseInt($(card).attr('data-issue')),
|
||||
sorting: i
|
||||
}))
|
||||
|
Reference in New Issue
Block a user