mirror of
https://github.com/lunarwatcher/obsidian-utils.git
synced 2026-07-22 15:30:28 +00:00
Remove suppresses
The suppresses cause risks that prevent the plugin from actually being published to obsidian. I do find it hilarious that there's no way to win here, but that's the JS slop-powered ecosystem for you
This commit is contained in:
parent
fd5a2669b4
commit
14e8be229f
2 changed files with 1 additions and 5 deletions
|
|
@ -7,9 +7,6 @@ export default class EmbedCodeBlockProcessor {
|
|||
this.app = app
|
||||
plugin.registerMarkdownCodeBlockProcessor(
|
||||
"inline-canvas",
|
||||
// eslint cannot cast the type to the handler type, and if I explicitly specify the type, it's an unexpected any.
|
||||
// Fuck you, typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
||||
this.processCodeBlock.bind(this)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
import LiviUtilsPlugin from "main";
|
||||
import { App, PluginSettingTab, Setting } from "obsidian";
|
||||
|
||||
// Suppress: settings are a placeholder and eslint is being fucking stupid
|
||||
export interface settings_t { // eslint-disable-line @typescript-eslint/no-empty-object-type
|
||||
export interface settings_t {
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: settings_t = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue