You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Tools: Apply rule @typescript-eslint/ban-types
This commit is contained in:
@ -26,6 +26,7 @@ function plugin(markdownIt: any, ruleOptions: RuleOptions) {
|
||||
|
||||
const imageRegex = /<img(.*?)src=["'](.*?)["'](.*?)>/gi;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
|
||||
const handleImageTags = function(defaultRender: Function) {
|
||||
return function(tokens: any[], idx: number, options: any, env: any, self: any) {
|
||||
const token = tokens[idx];
|
||||
|
Reference in New Issue
Block a user