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 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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -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,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -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,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user