mirror of
https://github.com/inttter/md-badges.git
synced 2026-05-06 18:36:58 +02:00
♻️ feat: initialize web project with Vite and React Demonstration Simple Playground
- 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.
This commit is contained in:
parent
6406b47c9b
commit
ce92b17c8f
18 changed files with 3142 additions and 0 deletions
29
playground/web/eslint.config.js
Normal file
29
playground/web/eslint.config.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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_]' }],
|
||||
},
|
||||
},
|
||||
])
|
||||
Loading…
Add table
Add a link
Reference in a new issue