-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.Use area-dart-cli for issues related to the 'dart' command like tool.area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.dart-cli-analyzeIssues related to the 'dart analyze' toolIssues related to the 'dart analyze' tooldevexp-commandIssues with the command-line dartanalyzer toolIssues with the command-line dartanalyzer toolneeds-infoWe need additional information from the issue author (auto-closed after 14 days if no response)We need additional information from the issue author (auto-closed after 14 days if no response)type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Use case
Rather than excluding a certain file from analysis for the entire project, We can enable the devs to exclude certain file from analysis only for a single instance of flutter analyze.
Ran into this trouble where I wanted to exclude one file from analyze when done via github actions, as certain firebase_config files aren't in the repo, but kept locally.
Proposal
Create a new flag --exclude for flutter/dart analyze to exclude this file for this specific flutter analyze run
system details
- Dart version and tooling diagnostic info (
dart info)
- Dart 3.2.6 (stable)
-
| Memory | CPU | Elapsed time | Command line | | -----: | --: | -----------: | ------------ | | 580 MB | -- | | dart.exe | | 16 MB | -- | | dart.exe | | 77 MB | -- | | dart.exe | | 105 MB | -- | | dart.exe | | 150 MB | -- | | dart.exe | | 468 MB | -- | | dart.exe | | 83 MB | -- | | dart.exe |
- Platform: Windows/Linux
- Whether you are using Chrome, Safari, Firefox, Edge (if applicable): NA/general
kenzieschmoll
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.Use area-dart-cli for issues related to the 'dart' command like tool.area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.dart-cli-analyzeIssues related to the 'dart analyze' toolIssues related to the 'dart analyze' tooldevexp-commandIssues with the command-line dartanalyzer toolIssues with the command-line dartanalyzer toolneeds-infoWe need additional information from the issue author (auto-closed after 14 days if no response)We need additional information from the issue author (auto-closed after 14 days if no response)type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug