mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-23 10:08:02 +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:
@ -361,7 +361,7 @@ export function initRepoIssueComments() {
|
||||
isChecked ? 'detach' : 'attach',
|
||||
issueId,
|
||||
id,
|
||||
).then(() => window.location.reload()); // eslint-disable-line github/no-then
|
||||
).then(() => window.location.reload());
|
||||
});
|
||||
|
||||
$('.dismiss-review-btn').on('click', function (e) {
|
||||
|
Reference in New Issue
Block a user