Files
Laca-City/frontend/node_modules/es-abstract/.eslintrc
PhongPham c65cc97a33 🎯 MapView v2.0 - Global Deployment Ready
 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
2025-07-20 19:52:16 +07:00

104 lines
1.9 KiB
Plaintext

{
"root": true,
"globals": {
"Float16Array": "readonly",
},
"extends": "@ljharb",
"env": {
"es6": true,
},
"rules": {
"array-bracket-newline": 0,
"complexity": 0,
"eqeqeq": [2, "allow-null"],
"func-name-matching": 0,
"id-length": [2, { "min": 1, "max": 40 }],
"max-params": [2, 5],
"max-lines-per-function": 1,
"max-statements": 1,
"max-statements-per-line": [2, { "max": 2 }],
"multiline-comment-style": 0,
"no-implicit-coercion": [2, {
"boolean": false,
"number": false,
"string": true,
}],
"no-magic-numbers": 0,
"new-cap": 0,
"no-extra-parens": 1,
"sort-keys": 0,
},
"overrides": [
{
"files": "GetIntrinsic.js",
"rules": {
"max-statements": 0,
}
},
{
"files": "operations/*",
"rules": {
"max-lines": 0,
},
},
{
"files": [
"operations/deltas.js",
"operations/getOps.js",
"operations/spackle.js",
"operations/years.js",
],
"extends": "@ljharb/eslint-config/node/latest",
"rules": {
"complexity": 0,
"func-style": 0,
"max-lines-per-function": 0,
"max-nested-callbacks": 0,
"max-statements": 0,
"no-magic-numbers": 0,
"no-throw-literal": 0,
},
},
{
"files": "test/**",
"extends": "@ljharb/eslint-config/tests",
"rules": {
"max-len": 0,
"max-lines-per-function": 0,
"no-implicit-coercion": 0,
"no-invalid-this": 1,
"prefer-promise-reject-errors": 0,
},
},
{
"files": [
"*/Num*ToRawBytes.js",
"*/RawBytesToNum*.js",
"helpers/bytesAs*.js",
"helpers/valueToFloat*.js",
],
"rules": {
"max-lines-per-function": "off",
"max-statements": "off",
"no-redeclare": "warn",
"operator-linebreak": [2, "before", {
"overrides": {
"=": "none"
}
}],
},
},
{
"files": "./*/GetSubstitution.js",
"rules": {
"max-depth": "off",
},
},
],
}