mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-09 22:48:39 +00:00
lint
This commit is contained in:
@@ -18,8 +18,7 @@ import darkbrewery from '@themes/codeMirror/darkbrewery.js';
|
|||||||
const themes = { default: defaultCM5Theme, darkbrewery, ...themesImport };
|
const themes = { default: defaultCM5Theme, darkbrewery, ...themesImport };
|
||||||
|
|
||||||
const EditorThemes = Object.entries(themes)
|
const EditorThemes = Object.entries(themes)
|
||||||
.filter(([name, value]) =>
|
.filter(([name, value])=>Array.isArray(value) &&
|
||||||
Array.isArray(value) &&
|
|
||||||
!name.endsWith('Init') &&
|
!name.endsWith('Init') &&
|
||||||
!name.endsWith('Style')
|
!name.endsWith('Style')
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user