aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-01-11 23:15:00 +0300
committereug-vs <eug-vs@keemail.me>2021-01-11 23:15:00 +0300
commitaa4493b08baae2d41a4c4346b9a5c63b08df471e (patch)
tree275eb524fa7a1a3cdc15d5f04bc041c86e8008b4
parente3253a726d4bb71825e392cbde89d05bb3146dc1 (diff)
downloadreact-benzin-aa4493b08baae2d41a4c4346b9a5c63b08df471e.tar.gz
fix: resolve eslint errors
-rw-r--r--package.json1
-rw-r--r--src/lib/Markdown/Markdown.tsx1
-rw-r--r--src/lib/Markdown/types.d.ts1
3 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index fd42c06..3592ae8 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,6 @@
"@material-ui/core": "^4.11.0",
"axios": "^0.21.0",
"emojilib": "^2.4.0",
- "mdast-util-from-markdown": "^0.8.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-markdown": "^5.0.3",
diff --git a/src/lib/Markdown/Markdown.tsx b/src/lib/Markdown/Markdown.tsx
index c91bc14..4fa6a9a 100644
--- a/src/lib/Markdown/Markdown.tsx
+++ b/src/lib/Markdown/Markdown.tsx
@@ -12,6 +12,7 @@ import Image from './Image';
interface PropTypes {
data?: string;
url?: string;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
context?: Record<string, any>;
}
diff --git a/src/lib/Markdown/types.d.ts b/src/lib/Markdown/types.d.ts
index f39e4f2..f444cf1 100644
--- a/src/lib/Markdown/types.d.ts
+++ b/src/lib/Markdown/types.d.ts
@@ -1,5 +1,6 @@
declare module 'remark-gemoji';
declare module '*.md' {
+ // eslint-disable-next-line import/no-mutable-exports
let Markdown: string;
export default Markdown;
}