mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix: use @eslint/markdown instead of eslint-plugin-markdown (#22434)
This commit is contained in:
@@ -4,12 +4,12 @@ import tseslint, { parser as tsParser } from 'typescript-eslint'
|
||||
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
|
||||
import importPlugin from 'eslint-plugin-import'
|
||||
import eslintPluginJsonc from 'eslint-plugin-jsonc'
|
||||
import markdown from 'eslint-plugin-markdown'
|
||||
import markdown from '@eslint/markdown'
|
||||
import pluginVue from 'eslint-plugin-vue'
|
||||
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
||||
import { defineConfig } from 'eslint/config'
|
||||
|
||||
export default defineConfig(
|
||||
export default defineConfig([
|
||||
{
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
@@ -75,7 +75,8 @@ export default defineConfig(
|
||||
},
|
||||
},
|
||||
|
||||
...markdown.configs.recommended,
|
||||
markdown.configs.recommended,
|
||||
markdown.configs.processor,
|
||||
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
|
||||
@@ -551,5 +552,5 @@ export default defineConfig(
|
||||
'!.*',
|
||||
],
|
||||
},
|
||||
eslintPluginPrettierRecommended
|
||||
)
|
||||
eslintPluginPrettierRecommended,
|
||||
])
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@eslint/js": "^9.36.0",
|
||||
"@eslint/markdown": "^7.4.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-jsonc": "^2.20.1",
|
||||
"eslint-plugin-markdown": "^5.1.0",
|
||||
"eslint-plugin-prettier": "^5.5.4",
|
||||
"eslint-plugin-unicorn": "^60.0.0",
|
||||
"eslint-plugin-vue": "^10.5.0",
|
||||
|
||||
700
pnpm-lock.yaml
generated
700
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user