Fix ESLint 9 configuration and resolve compatibility issues

- Configure ESLint 9 flat config with direct plugin imports
- Add TypeScript parser and plugins for proper code analysis
- Fix rushstack/eslint-patch compatibility issue
- Add global variables (React, console, process) for proper linting
- Resolve unused variable warning in middleware.ts
- Update rules: no-explicit-any as warning, support unused vars with underscore prefix

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
byeongcheolryu
2025-11-06 13:48:11 +09:00
parent 66a10935db
commit fdca24279a
2 changed files with 71 additions and 16 deletions

View File

@@ -96,8 +96,9 @@ function isProtectedPath(pathname: string): boolean {
/**
* Check if the path is public and accessible to all
* Note: Currently unused but kept for future use
*/
function isPublicPath(pathname: string): boolean {
function _isPublicPath(pathname: string): boolean {
return PUBLIC_PATHS.some(path => pathname === path || pathname.startsWith(path));
}