diff --git a/packages/app-desktop/commands/index.ts b/packages/app-desktop/commands/index.ts index 99c080b44..52f0fa55a 100644 --- a/packages/app-desktop/commands/index.ts +++ b/packages/app-desktop/commands/index.ts @@ -16,7 +16,7 @@ import * as switchProfile3 from './switchProfile3'; import * as toggleExternalEditing from './toggleExternalEditing'; import * as toggleSafeMode from './toggleSafeMode'; -const index:any[] = [ +const index: any[] = [ copyDevCommand, editProfileConfig, exportFolders, diff --git a/packages/app-desktop/gui/MainScreen/commands/index.ts b/packages/app-desktop/gui/MainScreen/commands/index.ts index 85b7972d9..6b00bd76a 100644 --- a/packages/app-desktop/gui/MainScreen/commands/index.ts +++ b/packages/app-desktop/gui/MainScreen/commands/index.ts @@ -44,7 +44,7 @@ import * as togglePerFolderSortOrder from './togglePerFolderSortOrder'; import * as toggleSideBar from './toggleSideBar'; import * as toggleVisiblePanes from './toggleVisiblePanes'; -const index:any[] = [ +const index: any[] = [ addProfile, commandPalette, deleteFolder, diff --git a/packages/app-desktop/gui/NoteEditor/commands/index.ts b/packages/app-desktop/gui/NoteEditor/commands/index.ts index cfa1d884b..5e4c02028 100644 --- a/packages/app-desktop/gui/NoteEditor/commands/index.ts +++ b/packages/app-desktop/gui/NoteEditor/commands/index.ts @@ -5,7 +5,7 @@ import * as pasteAsText from './pasteAsText'; import * as showLocalSearch from './showLocalSearch'; import * as showRevisions from './showRevisions'; -const index:any[] = [ +const index: any[] = [ focusElementNoteBody, focusElementNoteTitle, pasteAsText, diff --git a/packages/app-desktop/gui/NoteList/commands/index.ts b/packages/app-desktop/gui/NoteList/commands/index.ts index 5493c6e2f..c64a7d51d 100644 --- a/packages/app-desktop/gui/NoteList/commands/index.ts +++ b/packages/app-desktop/gui/NoteList/commands/index.ts @@ -1,7 +1,7 @@ // AUTO-GENERATED using `gulp buildScriptIndexes` import * as focusElementNoteList from './focusElementNoteList'; -const index:any[] = [ +const index: any[] = [ focusElementNoteList, ]; diff --git a/packages/app-desktop/gui/NoteListControls/commands/index.ts b/packages/app-desktop/gui/NoteListControls/commands/index.ts index 5815ab0f6..12571baff 100644 --- a/packages/app-desktop/gui/NoteListControls/commands/index.ts +++ b/packages/app-desktop/gui/NoteListControls/commands/index.ts @@ -1,7 +1,7 @@ // AUTO-GENERATED using `gulp buildScriptIndexes` import * as focusSearch from './focusSearch'; -const index:any[] = [ +const index: any[] = [ focusSearch, ]; diff --git a/packages/app-desktop/gui/Sidebar/commands/index.ts b/packages/app-desktop/gui/Sidebar/commands/index.ts index 84c916b63..f0df792ae 100644 --- a/packages/app-desktop/gui/Sidebar/commands/index.ts +++ b/packages/app-desktop/gui/Sidebar/commands/index.ts @@ -1,7 +1,7 @@ // AUTO-GENERATED using `gulp buildScriptIndexes` import * as focusElementSideBar from './focusElementSideBar'; -const index:any[] = [ +const index: any[] = [ focusElementSideBar, ]; diff --git a/packages/lib/commands/index.ts b/packages/lib/commands/index.ts index 2def7bddc..049eace48 100644 --- a/packages/lib/commands/index.ts +++ b/packages/lib/commands/index.ts @@ -4,7 +4,7 @@ import * as historyForward from './historyForward'; import * as openMasterPasswordDialog from './openMasterPasswordDialog'; import * as synchronize from './synchronize'; -const index:any[] = [ +const index: any[] = [ historyBackward, historyForward, openMasterPasswordDialog, diff --git a/packages/tools/gulp/tasks/buildScriptIndexes.js b/packages/tools/gulp/tasks/buildScriptIndexes.js index a0928e498..bcbe91049 100644 --- a/packages/tools/gulp/tasks/buildScriptIndexes.js +++ b/packages/tools/gulp/tasks/buildScriptIndexes.js @@ -30,7 +30,7 @@ async function processDirectory(dir, indexFilePath = null, typeScriptType = null fileContent.push(''); } - fileContent.push(`const index:${typeScriptType}[] = [`); + fileContent.push(`const index: ${typeScriptType}[] = [`); for (const tsFile of tsFiles) { const f = utils.getFilename(tsFile);