Release 0.4.1: clear developer-dashboard scan findings

Remove suppressed lint rules instead of disabling them. The debug logger console mirror uses console.debug, not console.log (drops two obsidianmd/no-console disables); the in-memory buffer is the primary capture path. types.d.ts references TFile via inline import (drops two no-undef disables). These suppressions predate the 1.13 migration; the stricter hosted scan surfaced them. No runtime change.
This commit is contained in:
Charles Kelsoe 2026-06-05 14:53:59 -04:00
parent db3f685c32
commit 28c3ab423d
7 changed files with 20 additions and 17 deletions

View file

@ -2,6 +2,11 @@
All notable changes to Plaud Importer will be documented in this file.
## [0.4.1] - 2026-06-05
### Fixed
- Cleared developer-dashboard scan findings by removing suppressed lint rules instead of disabling them. The debug logger's console mirror now uses `console.debug` instead of `console.log` (drops two `obsidianmd/no-console` disables); the in-memory buffer remains the primary capture path. The `types.d.ts` fold-manager augmentation references `TFile` via an inline import, dropping two `no-undef` disables. No runtime behavior changed.
## [0.4.0] - 2026-06-05
### Changed

View file

@ -117,16 +117,15 @@ export class BufferedDebugLogger implements DebugLogger {
this.consoleSink =
options.consoleSink ??
((message, payload): void => {
// Mirror to DevTools is the explicit purpose of this sink —
// the obsidianmd no-console rule fires here because it can't
// tell the debug-logger console mirror from accidental
// production logging.
// Mirror to DevTools is the explicit purpose of this sink, gated
// behind the user's debug setting. Uses console.debug (not
// console.log) to satisfy the obsidianmd no-console rule; the
// in-memory buffer is the primary capture path, so verbose-level
// console output is acceptable as a secondary mirror.
if (payload === undefined) {
// eslint-disable-next-line obsidianmd/rule-custom-message
console.log(message);
console.debug(message);
} else {
// eslint-disable-next-line obsidianmd/rule-custom-message
console.log(message, payload);
console.debug(message, payload);
}
});
}

View file

@ -1,7 +1,7 @@
{
"id": "plaud-importer",
"name": "Plaud Importer",
"version": "0.4.0",
"version": "0.4.1",
"minAppVersion": "1.13.0",
"description": "Import meeting summaries, transcripts, and attachments from Plaud.AI into your vault.",
"author": "Charles Kelsoe (ckelsoe)",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "obsidian-plaud-importer",
"version": "0.4.0",
"version": "0.4.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "obsidian-plaud-importer",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.2",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-plaud-importer",
"version": "0.4.0",
"version": "0.4.1",
"description": "Import meeting summaries, transcripts, and attachments from Plaud.AI into an Obsidian vault.",
"main": "main.js",
"scripts": {

6
types.d.ts vendored
View file

@ -33,10 +33,8 @@ declare module 'obsidian' {
* it automatically; `load` reads it back.
*/
interface FoldManager {
// eslint-disable-next-line no-undef
load(file: TFile): Promise<FoldInfo>;
// eslint-disable-next-line no-undef
save(file: TFile, foldInfo: FoldInfo): Promise<void>;
load(file: import('obsidian').TFile): Promise<FoldInfo>;
save(file: import('obsidian').TFile, foldInfo: FoldInfo): Promise<void>;
}
interface App {

View file

@ -10,5 +10,6 @@
"0.2.6": "1.11.4",
"0.3.0": "1.11.4",
"0.3.1": "1.11.4",
"0.4.0": "1.13.0"
"0.4.0": "1.13.0",
"0.4.1": "1.13.0"
}