-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-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.dart-cli-fixtype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Hi Dart team,
I am currently using dart fix --apply, which works well when applied to a single file or an entire directory. However, I noticed there is no way to specify a list of files for this command. This limitation makes it challenging to use dart fix --apply in a pre-commit hook, as we need to manually update the analysis_options file to exclude files that are not part of the commit.
It would be incredibly useful if dart fix --apply had an option to apply fixes to a specified list of files. Is there already a way to achieve this, or could this be considered as a feature request?
Version of dart I am currently using : Dart SDK version: 3.5.2
Thank you for your time and consideration.
Best regards,
Harshada Senad
waleedf112, lien-dkseo and aleksandrazai
Metadata
Metadata
Assignees
Labels
area-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.dart-cli-fixtype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug