- Move the single-file app into src/ as typed ES modules - Vite for dev server and minified production build (bun run dev / build) - oxfmt/oxlint config; rename useName -> ruianUseName (hooks lint false positive) - Fix horizontal overflow in the sidebar (range input default margin) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
No EOL
488 B
JSON
32 lines
No EOL
488 B
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": [
|
|
"typescript",
|
|
"oxc",
|
|
"unicorn",
|
|
"import",
|
|
"vitest"
|
|
],
|
|
"categories": {
|
|
"correctness": "error",
|
|
"suspicious": "warn",
|
|
"perf": "warn"
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es2024": true
|
|
},
|
|
"ignorePatterns": [
|
|
"dist"
|
|
],
|
|
"rules": {
|
|
"import/no-unassigned-import": [
|
|
"warn",
|
|
{
|
|
"allow": [
|
|
"**/*.css"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |