refactor: standardize code formatting and linting configuration

- Replace .eslintrc.js with .eslintrc.cjs for better ES module compatibility
- Add .prettierrc configuration for consistent code formatting
- Update package.json with new lint and format scripts
- Add nodemon.json for development hot reloading configuration
- Standardize code formatting across all JavaScript and Vue files
- Update web admin SPA with improved linting rules and formatting
- Add prettier configuration to web admin SPA

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
千羽
2025-08-07 18:19:31 +09:00
parent 4a0eba117c
commit 8a74bf5afe
124 changed files with 20878 additions and 18757 deletions

View File

@@ -2,16 +2,13 @@
<div class="stat-card">
<div class="flex items-start justify-between">
<div class="flex-1">
<p class="text-xs sm:text-sm font-medium text-gray-600 mb-1">
<p class="mb-1 text-xs font-medium text-gray-600 sm:text-sm">
{{ title }}
</p>
<p class="text-2xl sm:text-3xl font-bold text-gray-800">
<p class="text-2xl font-bold text-gray-800 sm:text-3xl">
{{ value }}
</p>
<p
v-if="subtitle"
class="text-xs sm:text-sm text-gray-500 mt-1.5 sm:mt-2"
>
<p v-if="subtitle" class="mt-1.5 text-xs text-gray-500 sm:mt-2 sm:text-sm">
{{ subtitle }}
</p>
</div>
@@ -62,4 +59,4 @@ const iconBgClass = computed(() => {
<style scoped>
/* 使用全局样式中定义的 .stat-card 和 .stat-icon 类 */
</style>
</style>