Update ESLint rules and resolve bot review feedback #8

Merged
AlexKucera merged 24 commits from obsidian-bot-review into master 2025-11-09 12:06:31 +01:00
3 changed files with 5 additions and 6 deletions
Showing only changes of commit 96859c98e5 - Show all commits

No files matched your search

+2 -2
View File
3
@@ -178,8 +178,8 @@ export class obsidianTypstPDFExport extends Plugin {
);
}
checkDependenciesAsync(): void {
DependencyChecker.checkDependenciesAsync(
checkDependenciesOnStartup(): void {
DependencyChecker.checkDependenciesOnStartup(
this.settings.pandocPath,
this.settings.typstPath,
this.settings.executablePaths?.imagemagickPath,
+2 -3
View File
@@ -321,7 +321,6 @@ ${dependencyResult.allAvailable
* @param typstPath - Optional custom path to Typst executable
* @param imagemagickPath - Optional custom path to ImageMagick convert executable
* @param additionalPaths - Additional directories to search for executables
* @returns Promise that resolves when the check is complete
*
* @example
* ```typescript
@@ -331,7 +330,7 @@ ${dependencyResult.allAvailable
* await this.loadSettings();
*
* // Silent startup check - only shows notice if problems exist
* await DependencyChecker.checkDependenciesAsync(
* DependencyChecker.checkDependenciesOnStartup(
* this.settings.pandocPath,
* this.settings.typstPath,
* this.settings.imagemagickPath,
@@ -348,7 +347,7 @@ ${dependencyResult.allAvailable
* // Run 'Check Dependencies' command for details."
* ```
*/
public static checkDependenciesAsync(
public static checkDependenciesOnStartup(
pandocPath?: string,
typstPath?: string,
imagemagickPath?: string,
+1 -1
View File
@@ -53,7 +53,7 @@ export class PluginLifecycle {
this.cleanupStartupTempDirectories();
// Check dependencies on startup
this.plugin.checkDependenciesAsync();
this.plugin.checkDependenciesOnStartup();
// Cache available fonts (async, don't await)
void this.plugin.cacheAvailableFonts();