Skip to content

Commit

Permalink
remove eslint exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed May 22, 2024
1 parent 18dd6c1 commit accddf0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/conversion/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export function addHardLineBreak(
}
}

//eslint-disable-next-line @typescript-eslint/no-explicit-any
function tagsToYaml(toAdd: string[], settings: GitHubPublisherSettings, yaml: any) {
if (yaml.tag) {
try {
Expand Down Expand Up @@ -133,7 +132,6 @@ export function addToYaml(
return text;
}

//eslint-disable-next-line @typescript-eslint/no-explicit-any
function titleToYaml(yaml: any, properties: MultiProperties, file: TFile) {
const settings = properties.plugin.settings.upload.folderNote.addTitle;
if (!settings) {
Expand Down
1 change: 0 additions & 1 deletion src/settings/modals/import_export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ export class ExportModal extends Modal {
output
);
//open the file with default application
//eslint-disable-next-line
(this.app as any).openWithDefaultApp(
`${this.app.vault.configDir}/plugins/obsidian-mkdocs-publisher/._tempSettings.json`
);
Expand Down
3 changes: 0 additions & 3 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ type LogsParameters = {

/**
* Create a notice message for the log
* @param args {LogsParameters} the settings and the error type
* @param {unknown[]} messages the message to display
*/
//eslint-disable-next-line @typescript-eslint/no-explicit-any
export function notif(args: LogsParameters, ...messages: unknown[]) {
const { settings, e } = args;
if (settings.plugin?.noticeError) {
Expand Down

0 comments on commit accddf0

Please sign in to comment.