You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Chore: Make buildScriptIndexes generates code that passes linter
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| // AUTO-GENERATED using `gulp buildScriptIndexes` | ||||
| import * as focusElementNoteList from './focusElementNoteList'; | ||||
|  | ||||
| const index:any[] = [ | ||||
| const index: any[] = [ | ||||
| 	focusElementNoteList, | ||||
| ]; | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| // AUTO-GENERATED using `gulp buildScriptIndexes` | ||||
| import * as focusSearch from './focusSearch'; | ||||
|  | ||||
| const index:any[] = [ | ||||
| const index: any[] = [ | ||||
| 	focusSearch, | ||||
| ]; | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| // AUTO-GENERATED using `gulp buildScriptIndexes` | ||||
| import * as focusElementSideBar from './focusElementSideBar'; | ||||
|  | ||||
| const index:any[] = [ | ||||
| const index: any[] = [ | ||||
| 	focusElementSideBar, | ||||
| ]; | ||||
|  | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user