0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-16 04:14:10 -04:00

Update JS deps, misc tweaks (#35643)

- Update all JS dependencies
- Enable eslint `no-useless-assignment` and fix 2 discovered issues
- Replace `gitea-vscode` svg with new `octicon-vscode`
- Remove now-unused `@ts-expect-error` comments
- Change Monaco wrapping behaviour to match the wrapping in code view:
no wrapping indent and break on any character.
This commit is contained in:
silverwind
2025-10-12 23:07:15 +02:00
committed by GitHub
parent 912515e63a
commit 49a0a11f55
11 changed files with 654 additions and 580 deletions

View File

@@ -38,6 +38,9 @@ const baseOptions: MonacoOpts = {
scrollbar: {horizontalScrollbarSize: 6, verticalScrollbarSize: 6},
scrollBeyondLastLine: false,
automaticLayout: true,
wrappingIndent: 'none',
wordWrapBreakAfterCharacters: '',
wordWrapBreakBeforeCharacters: '',
};
function getEditorconfig(input: HTMLInputElement): EditorConfig | null {