✨ 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
99 lines
3.8 KiB
JavaScript
99 lines
3.8 KiB
JavaScript
"use strict";
|
|
|
|
/* eslint consistent-return: 0 -- no default case */
|
|
|
|
const messages = {
|
|
|
|
env: `
|
|
A config object is using the "env" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "languageOptions.globals" to define global variables for your files.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options
|
|
`,
|
|
|
|
extends: `
|
|
A config object is using the "extends" key, which is not supported in flat config system.
|
|
|
|
Instead of "extends", you can include config objects that you'd like to extend from directly in the flat config array.
|
|
|
|
Please see the following page for more information:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#predefined-and-shareable-configs
|
|
`,
|
|
|
|
globals: `
|
|
A config object is using the "globals" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "languageOptions.globals" to define global variables for your files.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options
|
|
`,
|
|
|
|
ignorePatterns: `
|
|
A config object is using the "ignorePatterns" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "ignores" to specify files to ignore.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files
|
|
`,
|
|
|
|
noInlineConfig: `
|
|
A config object is using the "noInlineConfig" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "linterOptions.noInlineConfig" to specify files to ignore.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#linter-options
|
|
`,
|
|
|
|
overrides: `
|
|
A config object is using the "overrides" key, which is not supported in flat config system.
|
|
|
|
Flat config is an array that acts like the eslintrc "overrides" array.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#glob-based-configs
|
|
`,
|
|
|
|
parser: `
|
|
A config object is using the "parser" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "languageOptions.parser" to override the default parser.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#custom-parsers
|
|
`,
|
|
|
|
parserOptions: `
|
|
A config object is using the "parserOptions" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "languageOptions.parserOptions" to specify parser options.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options
|
|
`,
|
|
|
|
reportUnusedDisableDirectives: `
|
|
A config object is using the "reportUnusedDisableDirectives" key, which is not supported in flat config system.
|
|
|
|
Flat config uses "linterOptions.reportUnusedDisableDirectives" to specify files to ignore.
|
|
|
|
Please see the following page for information on how to convert your config object into the correct format:
|
|
https://eslint.org/docs/latest/use/configure/migration-guide#linter-options
|
|
`,
|
|
|
|
root: `
|
|
A config object is using the "root" key, which is not supported in flat config system.
|
|
|
|
Flat configs always act as if they are the root config file, so this key can be safely removed.
|
|
`
|
|
};
|
|
|
|
module.exports = function({ key }) {
|
|
|
|
return messages[key].trim();
|
|
};
|