Applies Obsidian linter and fixes code issues

Applies linting rules to the codebase and resolves identified issues.

Addresses:
- Renamed headings in settings tabs to improve UI consistency and style.
- Resolved require() style imports
- Added void operator to ensure correct promise handling.
- Replaced deprecated Obsidian API calls.
- Enforces sentence case to enhance UI text consistency.
This commit is contained in:
AlexKucera committed 2025-11-05 13:46:06 +01:00
1 parent 3c3f86ae4f
commit 2c4076f3c9
37 files changed
+4314 -872

No files matched your search

+1 -1
View File
@@ -1,6 +1,7 @@
// ABOUTME: Centralized path utilities for safe Obsidian API operations
// ABOUTME: Handles vault paths, plugin directories, and file operations
import { promises as fs } from 'fs';
import { FileSystemAdapter, normalizePath, Notice } from 'obsidian';
import type { App, PluginManifest } from 'obsidian';
import * as path from 'path';
@@ -238,7 +239,6 @@ export class PathUtils {
if (isAbsolutePath) {
try {
const fs = require('fs').promises;
await fs.access(path);
return true;
} catch {