a2ui-project / a2ui-project/a2ui

[ci] Is dart format doing what we want (in CI)?

Open
#2,463 2 comments 0 reactions 0 assignees View on GitHub
CI/CD P2 status: needs-triage
Dominant language
TypeScript
Stars
16.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
134

Description

While working on an unrelated task, I noticed the following output in the dart format check:

```
Running Dart format...
Warning: Package resolution error when reading "analysis_options.yaml" file for "samples/client/flutter/restaurant_finder/app/lib/main.dart":
Failed to resolve package URI "package:lints/recommended.yaml" in include at "/home/runner/work/a2ui/a2ui/analysis_options.yaml".
Warning: Package resolution error when reading "analysis_options.yaml" file for "samples/client/flutter/restaurant_finder/app/lib/src/main.dart":
Failed to resolve package URI "package:lints/recommended.yaml" in include at "/home/runner/work/a2ui/a2ui/analysis_options.yaml".
Warning: Package resolution error when reading "analysis_options.yaml" file for "samples/client/flutter/restaurant_finder/app/test/widget_test.dart":
Failed to resolve package URI "package:lints/recommended.yaml" in include at "/home/runner/work/a2ui/a2ui/analysis_options.yaml".
Warning: Package resolution error when reading "analysis_options.yaml" file for "samples/client/flutter/restaurant_finder/e2e_test/test/infra_test.dart":
Failed to resolve package URI "package:lints/recommended.yaml" in include at "/home/runner/work/a2ui/a2ui/analysis_options.yaml".
Warning: Package resolution error when reading "analysis_options.yaml" file for "samples/client/flutter/restaurant_finder/e2e_test/test/test_infra/ai_client.dart":
Failed to resolve package URI "package:lints/recommended.yaml" in include at "/home/runner/work/a2ui/a2ui/analysis_options.yaml".
Formatted 13 files (0 changed) in 0.02 seconds.
```

> **Failed to resolve package URI `"package:lints/recommended.yaml"` in include at `".../analysis_options.yaml"`.**

See [this build task](https://github.com/a2ui-project/a2ui/actions/runs/33453710575/job/99689136987?pr=1935#step:7:51).

Are we applying the lints that we expect?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.