✨ MAJOR FEATURES: • Auto-zoom intelligence với smart bounds fitting • Enhanced 3D GPS markers với pulsing effects • Professional route display với 6-layer rendering • Status-based parking icons với availability indicators • Production-ready build optimizations 🗺️ AUTO-ZOOM FEATURES: • Smart bounds fitting cho GPS + selected parking • Adaptive padding (50px) cho visual balance • Max zoom control (level 16) để tránh quá gần • Dynamic centering khi không có selection 🎨 ENHANCED VISUALS: • 3D GPS marker với multi-layer pulse effects • Advanced parking icons với status colors • Selection highlighting với animation • Dimming system cho non-selected items 🛣️ ROUTE SYSTEM: • OpenRouteService API integration • Multi-layer route rendering (glow, shadow, main, animated) • Real-time distance & duration calculation • Visual route info trong popup 📱 PRODUCTION READY: • SSR safe với dynamic imports • Build errors resolved • Global deployment via Vercel • Optimized performance 🌍 DEPLOYMENT: • Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app • Bundle size: 22.8 kB optimized • Global CDN distribution • HTTPS enabled 💾 VERSION CONTROL: • MapView-v2.0.tsx backup created • MAPVIEW_VERSIONS.md documentation • Full version history tracking
66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"indent": [2, 4],
|
|
"strict": 0,
|
|
"complexity": 0,
|
|
"consistent-return": 0,
|
|
"curly": 0,
|
|
"dot-notation": [2, { "allowKeywords": true }],
|
|
"func-name-matching": 0,
|
|
"func-style": 0,
|
|
"global-require": 1,
|
|
"id-length": [2, { "min": 1, "max": 40 }],
|
|
"max-lines": [2, 350],
|
|
"max-lines-per-function": 0,
|
|
"max-nested-callbacks": 0,
|
|
"max-params": 0,
|
|
"max-statements-per-line": [2, { "max": 2 }],
|
|
"max-statements": 0,
|
|
"no-magic-numbers": 0,
|
|
"no-shadow": 0,
|
|
"no-use-before-define": 0,
|
|
"sort-keys": 0,
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": "bin/**",
|
|
"rules": {
|
|
"no-process-exit": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": "example/**",
|
|
"rules": {
|
|
"no-console": 0,
|
|
},
|
|
},
|
|
{
|
|
"files": "test/resolver/nested_symlinks/mylib/*.js",
|
|
"rules": {
|
|
"no-throw-literal": 0,
|
|
},
|
|
},
|
|
{
|
|
"files": "test/**",
|
|
"parserOptions": {
|
|
"ecmaVersion": 5,
|
|
"allowReserved": false,
|
|
},
|
|
"rules": {
|
|
"dot-notation": [2, { "allowPattern": "throws" }],
|
|
"max-lines": 0,
|
|
"max-lines-per-function": 0,
|
|
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
|
|
},
|
|
},
|
|
],
|
|
|
|
"ignorePatterns": [
|
|
"./test/resolver/malformed_package_json/package.json",
|
|
],
|
|
}
|