diff --git a/.eslintrc.cjs b/.eslintrc.cjs index f286cf8e..4e184fd9 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -6,7 +6,7 @@ module.exports = { project: ['./tsconfig.json'], sourceType: 'module' }, - plugins: ['react', '@typescript-eslint', 'json', 'html'], + plugins: ['react', '@typescript-eslint', 'json', 'html', 'import'], env: { browser: true, es2021: true, @@ -28,6 +28,7 @@ module.exports = { } ], rules: { + 'import/no-extraneous-dependencies': ['error'], '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unsafe-return': 'off', diff --git a/package-lock.json b/package-lock.json index 7d2a8c3a..b1d4b1a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,6 +50,7 @@ "mdast-util-to-markdown": "^2.1.0", "micromark-extension-directive": "^3.0.0", "micromark-extension-frontmatter": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", "micromark-extension-gfm-table": "^2.0.0", "micromark-extension-gfm-task-list-item": "^2.0.1", "micromark-extension-mdx-jsx": "^3.0.0", @@ -14414,7 +14415,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.0.0.tgz", "integrity": "sha512-c3BR1ClMp5fxxmwP6AoOY2fXO9U8uFMKs4ADD66ahLTNcwzSCyRVU4k7LPV5Nxo/VJiR4TdzxRQY2v3qIUceCw==", - "dev": true, "dependencies": { "devlop": "^1.0.0", "micromark-util-chunked": "^2.0.0", diff --git a/package.json b/package.json index 50f7d3db..cae977c7 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "mdast-util-to-markdown": "^2.1.0", "micromark-extension-directive": "^3.0.0", "micromark-extension-frontmatter": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", "micromark-extension-gfm-table": "^2.0.0", "micromark-extension-gfm-task-list-item": "^2.0.1", "micromark-extension-mdx-jsx": "^3.0.0",