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

@@ -1,7 +1,7 @@
<template>
<div id="app">
<router-view />
<!-- 全局组件 -->
<ToastNotification ref="toastRef" />
<ConfirmDialog ref="confirmRef" />
@@ -21,7 +21,7 @@ const confirmRef = ref()
onMounted(() => {
// 检查本地存储的认证状态
authStore.checkAuth()
// 加载OEM设置包括网站图标
authStore.loadOemSettings()
})
@@ -31,4 +31,4 @@ onMounted(() => {
#app {
min-height: 100vh;
}
</style>
</style>