dart-tooling-ci
Standards for analysis, linting, formatting, and automation.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!