mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Update JS dependencies (#17357)
* Update JS dependencies - Upgrade to eslint 8 and add new plugin rules - Adapt to various API changes - Rebuild SVGs * fix webpack warning on license * order options alphabetically Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		| @@ -6,11 +6,11 @@ const languagesByExt = {}; | ||||
| const baseOptions = { | ||||
|   fontFamily: 'var(--fonts-monospace)', | ||||
|   fontSize: 14, // https://github.com/microsoft/monaco-editor/issues/2242 | ||||
|   guides: {bracketPairs: false, indentation: false}, | ||||
|   links: false, | ||||
|   minimap: {enabled: false}, | ||||
|   occurrencesHighlight: false, | ||||
|   overviewRulerLanes: 0, | ||||
|   renderIndentGuides: false, | ||||
|   renderLineHighlight: 'all', | ||||
|   renderLineHighlightOnlyWhenFocus: true, | ||||
|   renderWhitespace: 'none', | ||||
|   | ||||
| @@ -11,7 +11,7 @@ function displayError(el, err) { | ||||
| export async function renderMermaid(els) { | ||||
|   if (!els || !els.length) return; | ||||
|  | ||||
|   const mermaid = await import(/* webpackChunkName: "mermaid" */'mermaid'); | ||||
|   const {default: mermaid} = await import(/* webpackChunkName: "mermaid" */'mermaid'); | ||||
|  | ||||
|   mermaid.initialize({ | ||||
|     mermaid: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user