dart-tooling-ci
Standards for analysis, linting, formatting, and automation.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Tooling & CI
Priority: P1 (HIGH)
Standards for code quality, formatting, and generation.
Implementation Guidelines
-
Linter: Use
analysis_options.yaml. Enforcealways_use_package_importsandrequire_trailing_commas. -
Formatting: Use
dart format . --line-length 80. Run on every commit. -
DCM: Use
dart_code_metricsfor complexity checks (Max cyclomatic complexity: 15). -
Build Runner: Always use
--delete-conflicting-outputswith code generation. -
CI Pipeline: All PRs MUST pass
analyze,format, andteststeps. -
Imports: Group imports:
dart:,package:, then relative. -
Documentation: Use
///for public APIs. Link symbols using[Class].
Code
# analysis_options.yaml
analyzer:
errors:
todo: ignore
missing_required_param: error
linter:
rules:
- prefer_single_quotes
- unawaited_futures
Related Topics
language | testing
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!