readmd/eslint.config.js
ddshi c158ff28bd feat: 初始化ReadMD Chrome扩展项目
- 实现网页内容提取并导出为Markdown文件
- 支持自动识别和手动选择区域两种提取模式
- 使用Mozilla Readability算法提取页面主要内容
- 使用Turndown将HTML转换为Markdown
- React + Vite + TypeScript 技术栈
- 支持图片URL保留、复制到剪贴板、直接下载

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 14:36:51 +08:00

24 lines
616 B
JavaScript

import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])