Skip to content

Commit

Permalink
fix(eslint-config): remove the markdown plugin (#4610)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Sep 8, 2023
1 parent 9e1700b commit bfad67b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 47 deletions.
7 changes: 7 additions & 0 deletions .changeset/new-deers-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js-app/eslint-config': patch
---

fix(eslint-config): remove the markdown plugin

fix(eslint-config): 移除 markdown 插件
6 changes: 0 additions & 6 deletions packages/review/eslint-config-app/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ module.exports = {
'promise',
// https://www.npmjs.com/package/eslint-plugin-node
'node',
// https: //github.com/eslint/eslint-plugin-markdown
'markdown',
],
// https://eslint.org/docs/user-guide/configuring#extending-configuration-files
extends: [
Expand Down Expand Up @@ -1277,10 +1275,6 @@ module.exports = {
files: ['*.stories.[tj]sx', '*.stories.[tj]s'],
rules: { 'import/no-anonymous-default-export': 'off' },
},
{
files: ['**/*.md'],
processor: 'markdown/markdown',
},
// ignore auto-generated css module declarations
{
files: ['*.css.d.ts'],
Expand Down
1 change: 0 additions & 1 deletion packages/review/eslint-config-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.1.1",
Expand Down
40 changes: 0 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bfad67b

Please sign in to comment.