mirror of
https://github.com/inttter/md-badges.git
synced 2026-05-06 18:36:58 +02:00
- Added package.json for project dependencies and scripts. - Created Vite logo SVG file. - Added global styles in index.css. - Implemented main application structure in App.jsx. - Created BadgeRow component for displaying individual badges. - Developed Section component to organize badge lists. - Implemented VirtualBadgeList for efficient rendering of badges. - Added WASM integration for parsing README files. - Configured Vite for the project.
29 lines
758 B
JavaScript
29 lines
758 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 { defineConfig, globalIgnores } from 'eslint/config'
|
|
|
|
export default defineConfig([
|
|
globalIgnores(['dist']),
|
|
{
|
|
files: ['**/*.{js,jsx}'],
|
|
extends: [
|
|
js.configs.recommended,
|
|
reactHooks.configs.flat.recommended,
|
|
reactRefresh.configs.vite,
|
|
],
|
|
languageOptions: {
|
|
ecmaVersion: 2020,
|
|
globals: globals.browser,
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
ecmaFeatures: { jsx: true },
|
|
sourceType: 'module',
|
|
},
|
|
},
|
|
rules: {
|
|
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
|
|
},
|
|
},
|
|
])
|