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 toggleSafeMode from './toggleSafeMode';
const index:any[] = [
const index: any[] = [
copyDevCommand,
editProfileConfig,
exportFolders,

View File

@ -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,

View File

@ -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,

View File

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

View File

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

View File

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

View File

@ -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,

View File

@ -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);