mirror of
https://github.com/go-gitea/gitea
synced 2025-07-04 09:37:19 +00:00
Update JS dependencies, adjust eslint config (#17904)
- Update all JS dependencies to latest versions - Add new lint rules, enable es2022 eslint parser features - Disable github/no-then, I feel the rule was too restricting
This commit is contained in:
@ -28,7 +28,7 @@ export function initCommonIssue() {
|
||||
action,
|
||||
issueIDs,
|
||||
elementId
|
||||
).then(() => { // eslint-disable-line github/no-then
|
||||
).then(() => {
|
||||
// NOTICE: This reset of checkbox state targets Firefox caching behaviour, as the
|
||||
// checkboxes stay checked after reload
|
||||
if (action === 'close' || action === 'open') {
|
||||
|
Reference in New Issue
Block a user