Nouvelles fonctionnalités: - #215 Mode boussole + carte IGN/satellite (Mode terrain) - #53 Définition zoom maximal pour éviter sur-zoom - #14 Correction bug F5 déconnexion - #204 Design couleurs flashy - #205 Écrans utilisateurs simplifiés Corrections Flutter analyze: - Suppression warnings room.g.dart, chat_service.dart, api_service.dart - 0 error, 0 warning, 30 infos (suggestions de style) Autres: - Intégration tuiles IGN Plan et IGN Ortho (geopf.fr) - flutter_compass pour Android/iOS - Réorganisation assets store Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
1.3 KiB
Markdown
Executable File
26 lines
1.3 KiB
Markdown
Executable File
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Build Commands
|
|
- Flutter: `cd flutt && flutter run` - run the Flutter app
|
|
- Flutter tests: `cd flutt && flutter test [test_file_path]` - run specific test
|
|
- Flutter linting: `cd flutt && flutter analyze` - analyze Dart code
|
|
- Flutter build: `cd flutt && flutter build [platform]` - build for specific platform
|
|
- Web: `cd web && npm run dev` - run Svelte dev server
|
|
- Web build: `cd web && npm run build` - build web app for production
|
|
|
|
## Post-modification checks (OBLIGATOIRE)
|
|
After modifying any code file, run the appropriate linter:
|
|
- Dart/Flutter: `cd app && flutter analyze [modified_files]`
|
|
- PHP: `php -l [modified_file]` (syntax check)
|
|
|
|
## Code Style Guidelines
|
|
- Flutter/Dart: Follow Flutter lint rules in analysis_options.yaml
|
|
- Naming: camelCase for variables/methods, PascalCase for classes/enums
|
|
- Imports: Group imports by type (dart, flutter, third-party, project)
|
|
- Error handling: Use try/catch with specific error types
|
|
- Documentation: Add documentation comments for public APIs
|
|
- UI/Layout: Use responsive design principles (DashboardLayout widget)
|
|
- Types: Use strong typing, avoid dynamic when possible
|
|
- Architecture: Follow repository pattern for data access |