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

Use single quotes instead of double quotes #143

Open
nilsreichardt opened this issue May 4, 2022 · 0 comments
Open

Use single quotes instead of double quotes #143

nilsreichardt opened this issue May 4, 2022 · 0 comments

Comments

@nilsreichardt
Copy link

My pubspec.yaml looks something like this:

name: my_package
description: A new Flutter project.
publish_to: 'none'
version: 0.0.1+1

environment:
  sdk: ">=2.16.2 <3.0.0"

dependencies:
  logger: ^1.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

When I'm now adding a new package, the extension will replace the publish_to: 'none' with publish_to: "none".

name: my_package
description: A new Flutter project.
- publish_to: 'none'
+ publish_to: "none"
version: 0.0.1+1

environment:
  sdk: ">=2.16.2 <3.0.0"

dependencies:
  logger: ^1.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

When running flutter create my_package, Flutter uses single quotes for the publish_to (in feature also for the dartSdkVersionBounds: flutter/flutter#101270).

Would it be possible to use single quotes instead of double quotes?

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

No branches or pull requests

1 participant