You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Tools: Add eslint rule "@typescript-eslint/no-inferrable-types"
This commit is contained in:
@ -61,7 +61,7 @@ export default async function populateDatabase(db: any, options: Options = null)
|
||||
const createdTagIds: string[] = [];
|
||||
const createdFolderDepths: Record<string, number> = {};
|
||||
const folderDepthToId: Record<number, string[]> = {};
|
||||
let rootFolderCount: number = 0;
|
||||
let rootFolderCount = 0;
|
||||
|
||||
for (let i = 0; i < options.folderCount; i++) {
|
||||
const folder: any = {
|
||||
@ -72,7 +72,7 @@ export default async function populateDatabase(db: any, options: Options = null)
|
||||
|
||||
if (options.rootFolderCount && rootFolderCount >= options.rootFolderCount) isRoot = false;
|
||||
|
||||
let depth: number = 0;
|
||||
let depth = 0;
|
||||
|
||||
if (!isRoot) {
|
||||
let possibleFolderIds: string[] = [];
|
||||
|
Reference in New Issue
Block a user