mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-24 10:37:47 +08: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