forked from forgejo/forgejo
Update JS dependencies, add new eslint rules (#24597)
- Update all JS dependencies - Enable new eslint rules, fix issue (some via autofix) - Fix some missed eslint rule renames from [unicorn v25](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v25.0.0) - Tested Monaco, Katex, Swagger UI --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
1dd83dbb91
commit
d5b2bf9044
11 changed files with 667 additions and 528 deletions
|
@ -66,7 +66,7 @@ export async function createMonaco(textarea, filename, editorOpts) {
|
|||
|
||||
const container = document.createElement('div');
|
||||
container.className = 'monaco-editor-container';
|
||||
textarea.parentNode.appendChild(container);
|
||||
textarea.parentNode.append(container);
|
||||
|
||||
// https://github.com/microsoft/monaco-editor/issues/2427
|
||||
const styles = window.getComputedStyle(document.documentElement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue