1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Chore: Make buildScriptIndexes generates code that passes linter

This commit is contained in:
Laurent Cozic 2024-01-05 09:46:53 +00:00
parent 906b7c3a33
commit 474e8c95a0
8 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@ import * as switchProfile3 from './switchProfile3';
import * as toggleExternalEditing from './toggleExternalEditing'; import * as toggleExternalEditing from './toggleExternalEditing';
import * as toggleSafeMode from './toggleSafeMode'; import * as toggleSafeMode from './toggleSafeMode';
const index:any[] = [ const index: any[] = [
copyDevCommand, copyDevCommand,
editProfileConfig, editProfileConfig,
exportFolders, exportFolders,

View File

@ -44,7 +44,7 @@ import * as togglePerFolderSortOrder from './togglePerFolderSortOrder';
import * as toggleSideBar from './toggleSideBar'; import * as toggleSideBar from './toggleSideBar';
import * as toggleVisiblePanes from './toggleVisiblePanes'; import * as toggleVisiblePanes from './toggleVisiblePanes';
const index:any[] = [ const index: any[] = [
addProfile, addProfile,
commandPalette, commandPalette,
deleteFolder, deleteFolder,

View File

@ -5,7 +5,7 @@ import * as pasteAsText from './pasteAsText';
import * as showLocalSearch from './showLocalSearch'; import * as showLocalSearch from './showLocalSearch';
import * as showRevisions from './showRevisions'; import * as showRevisions from './showRevisions';
const index:any[] = [ const index: any[] = [
focusElementNoteBody, focusElementNoteBody,
focusElementNoteTitle, focusElementNoteTitle,
pasteAsText, pasteAsText,

View File

@ -1,7 +1,7 @@
// AUTO-GENERATED using `gulp buildScriptIndexes` // AUTO-GENERATED using `gulp buildScriptIndexes`
import * as focusElementNoteList from './focusElementNoteList'; import * as focusElementNoteList from './focusElementNoteList';
const index:any[] = [ const index: any[] = [
focusElementNoteList, focusElementNoteList,
]; ];

View File

@ -1,7 +1,7 @@
// AUTO-GENERATED using `gulp buildScriptIndexes` // AUTO-GENERATED using `gulp buildScriptIndexes`
import * as focusSearch from './focusSearch'; import * as focusSearch from './focusSearch';
const index:any[] = [ const index: any[] = [
focusSearch, focusSearch,
]; ];

View File

@ -1,7 +1,7 @@
// AUTO-GENERATED using `gulp buildScriptIndexes` // AUTO-GENERATED using `gulp buildScriptIndexes`
import * as focusElementSideBar from './focusElementSideBar'; import * as focusElementSideBar from './focusElementSideBar';
const index:any[] = [ const index: any[] = [
focusElementSideBar, focusElementSideBar,
]; ];

View File

@ -4,7 +4,7 @@ import * as historyForward from './historyForward';
import * as openMasterPasswordDialog from './openMasterPasswordDialog'; import * as openMasterPasswordDialog from './openMasterPasswordDialog';
import * as synchronize from './synchronize'; import * as synchronize from './synchronize';
const index:any[] = [ const index: any[] = [
historyBackward, historyBackward,
historyForward, historyForward,
openMasterPasswordDialog, openMasterPasswordDialog,

View File

@ -30,7 +30,7 @@ async function processDirectory(dir, indexFilePath = null, typeScriptType = null
fileContent.push(''); fileContent.push('');
} }
fileContent.push(`const index:${typeScriptType}[] = [`); fileContent.push(`const index: ${typeScriptType}[] = [`);
for (const tsFile of tsFiles) { for (const tsFile of tsFiles) {
const f = utils.getFilename(tsFile); const f = utils.getFilename(tsFile);