chore(lint): tighten unused vars rule
updated the TypeScript no-unused-vars configuration and dropped now-unused imports across several components
This commit is contained in:
12 files changed
+15
-28
No files matched your search
@@ -9,7 +9,7 @@ import {
|
||||
} from '$plugins/markdown';
|
||||
import { findAndReplace } from '$appUtils/findAndReplace';
|
||||
import { sanitizeForRegex } from '$appUtils/regex';
|
||||
import { getCanonicalAliasOrRoomId, isUserId } from '$appUtils/matrix';
|
||||
import { isUserId } from '$appUtils/matrix';
|
||||
import { CustomElement } from './slate';
|
||||
import { BlockType } from './types';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import React from 'react';
|
||||
import FileSaver from 'file-saver';
|
||||
import classNames from 'classnames';
|
||||
import { Box, Chip, Header, Icon, IconButton, Icons, Text, as } from 'folds';
|
||||
|
||||
@@ -11,9 +11,6 @@ import { mxcUrlToHttp } from '$appUtils/matrix';
|
||||
import { useMediaAuthentication } from '$hooks/useMediaAuthentication';
|
||||
import * as css from './UrlPreviewCard.css';
|
||||
import { UrlPreview, UrlPreviewContent, UrlPreviewDescription, UrlPreviewImg } from './UrlPreview';
|
||||
import { ImageViewer } from '../image-viewer';
|
||||
import { Image, Video } from '../media';
|
||||
import { ImageContent, VideoContent } from '../message';
|
||||
|
||||
const linkStyles = { color: color.Success.Main };
|
||||
const TARGET_HEIGHT = 300;
|
||||
|
||||
Reference in new issue
Block a user