dart-run-static-analysis

dart run static analysis

dart-lang 411 ↓ 10k BSD-3-Clause updated 28d ago
Claude Code
View source ↗

What it does

  • Analysis Configuration
  • Diagnostic Suppression
  • Workflow: Executing Static Analysis
  • Workflow: Applying Automated Fixes
  • Base Configuration: Always include a standard rule set (e.g., package:lints/recommended.yaml or package:flutterlints/flutter.yaml) using the include: directive.
  • Formatter Configuration: Configure dart format behavior under the formatter: node. Set pagewidth (default 80) and trailingcommas (automate or preserve).
  • File-level Exclusion: Use the analyzer: exclude: node in analysisoptions.yaml to exclude entire files or directories (e.g., /.g.dart) using glob patterns.

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

dart run static analysis

Source

Repository: https://github.com/dart-lang/skills

dart-run-static-analysis FAQ

What does the dart-run-static-analysis skill do?

Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes. Analysis Configuration Diagnostic Suppression

How do I install dart-run-static-analysis?

Run: npx -y skills add https://github.com/dart-lang/skills --skill dart-run-static-analysis --agent claude-code — the source lives at github.com/dart-lang/skills.

Maintain dart-run-static-analysis?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

dart-run-static-analysis on getagentictools
[![dart-run-static-analysis on getagentictools](https://getagentictools.com/badge/skills/dart-lang-skills-dart-run-static-analysis.svg)](https://getagentictools.com/skills/dart-lang-skills-dart-run-static-analysis?ref=badge)
npx agentictools info skills/dart-lang-skills-dart-run-static-analysis

The second line is the CLI lookup for this page — handy in READMEs and docs.