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:
parent
906b7c3a33
commit
474e8c95a0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user