Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump deps on analyzer and dart_style #1445

Closed
wants to merge 1 commit into from
Closed

Bump deps on analyzer and dart_style #1445

wants to merge 1 commit into from

Conversation

kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Sep 10, 2024

No description provided.

@@ -8,7 +8,8 @@ import 'package:build/build.dart';
import 'package:dart_style/dart_style.dart';
import 'package:yaml/yaml.dart';

final formatter = DartFormatter();
final formatter =
DartFormatter(languageVersion: DartFormatter.latestLanguageVersion);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just realized this is pointless, since latestLanguageVersion is the default. 🤷 🤦

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also really don't want to do it this way. I am prepping a change to source_gen which is going to be breaking, and will give you a language version to use in the format function.

@kevmoo kevmoo closed this Sep 10, 2024
@kevmoo kevmoo deleted the bump_deps branch September 10, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants