chore: migrate oxlint disable comments

This commit is contained in:
Julien Calixte
2026-03-28 09:52:25 +01:00
parent 767093c008
commit c06253e509
5 changed files with 18 additions and 363 deletions

View File

@@ -15,7 +15,7 @@ interface GetAllParams {
}
class Data {
// eslint-disable-next-line @typescript-eslint/ban-types
// oxlint-disable-next-line typescript/ban-types
private readonly locale: PouchDB.Database<{}> | null = null
constructor() {

View File

@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/* oxlint-disable typescript/no-explicit-any */
// We can only detect video/audio files from the extension in the URL.
// We ignore MP1 and MP2 (not in active use) and default to video for ambiguous

View File

@@ -15,7 +15,7 @@ export const markdownItPlugin = (
const regexp = RegExp("^" + regex.source, flags)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// oxlint-disable-next-line typescript/no-explicit-any
const parse = (state: any, silent: boolean): boolean => {
const match = regexp.exec(state.src.slice(state.pos))