mirror of
https://github.com/core-hn/pseudobsidian-ization.git
synced 2026-07-22 06:57:06 +00:00
Floating promises: add `void` to all unhandled refreshHighlightData() calls
in callbacks and event listeners; extract processFilePicker() to fix the async
event listener returning a Promise where void was expected.
Inline styles: replace all style.cssText and setAttribute('style') with CSS
classes (pseudobs-hidden-input, pseudobs-legend-*, pseudobs-suggestions-*,
pseudobs-occ-*, pseudobs-disabled-input) across OccurrencesModal, RuleModal,
QuickPseudonymizeModal, EditRuleModal, and main.ts.
Settings headings: replace all createEl('h2'/'h3') with new Setting().setHeading()
in PseudObsSettingTab (5 headings).
Sentence case: fix linter-flagged occurrences (placeholder text, legend labels,
button text); 4 residual occurrences on legitimate proper nouns (Baptiste Coulmont,
Jefferson, ICOR, Synology Drive) left for human reviewer.
31 lines
929 B
JSON
31 lines
929 B
JSON
{
|
|
"name": "pseudobsidianization",
|
|
"version": "0.0.1",
|
|
"description": "Plugin Obsidian de pseudonymisation de transcriptions",
|
|
"author": "Axelle Abbadie",
|
|
"homepage": "https://cv.hal.science/axelle-abbadie/",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc --noEmit --skipLibCheck && node esbuild.config.mjs production",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"lint": "eslint src --ext .ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.0",
|
|
"@types/node": "^18.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"builtin-modules": "^3.3.0",
|
|
"esbuild": "^0.20.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-obsidianmd": "^0.2.9",
|
|
"jest": "^29.5.0",
|
|
"obsidian": "latest",
|
|
"prettier": "^3.0.0",
|
|
"ts-jest": "^29.4.9",
|
|
"tslib": "^2.6.0",
|
|
"typescript": "^5.3.0"
|
|
}
|
|
}
|