diff options
author | eug-vs <eug-vs@keemail.me> | 2021-01-11 23:15:00 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-01-11 23:15:00 +0300 |
commit | aa4493b08baae2d41a4c4346b9a5c63b08df471e (patch) | |
tree | 275eb524fa7a1a3cdc15d5f04bc041c86e8008b4 | |
parent | e3253a726d4bb71825e392cbde89d05bb3146dc1 (diff) | |
download | react-benzin-aa4493b08baae2d41a4c4346b9a5c63b08df471e.tar.gz |
fix: resolve eslint errors
-rw-r--r-- | package.json | 1 | ||||
-rw-r--r-- | src/lib/Markdown/Markdown.tsx | 1 | ||||
-rw-r--r-- | src/lib/Markdown/types.d.ts | 1 |
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; } |