mirror of
https://github.com/lordmathis/lemma.git
synced 2025-12-25 02:44:22 +00:00
Fix some lint issues
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { API_BASE_URL } from '@/types/authApi';
|
||||
import { IMAGE_EXTENSIONS } from '../types/file';
|
||||
import { API_BASE_URL } from '@/types/api';
|
||||
import { IMAGE_EXTENSIONS } from '@/types/models';
|
||||
|
||||
/**
|
||||
* Checks if the given file path has an image extension.
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import { visit } from 'unist-util-visit';
|
||||
import { InlineContainerType, MARKDOWN_REGEX } from '../types/markdown';
|
||||
import type { Node } from 'unist';
|
||||
import type { Parent } from 'unist';
|
||||
import type { Node, Parent } from 'unist';
|
||||
import type { Text } from 'mdast';
|
||||
import { lookupFileByName } from '@/api/file';
|
||||
import { getFileUrl } from './fileHelpers';
|
||||
import { InlineContainerType, MARKDOWN_REGEX } from '@/types/models';
|
||||
|
||||
/**
|
||||
* Represents a wiki link match from the regex
|
||||
|
||||
Reference in New Issue
Block a user