dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.08k stars 1.56k forks source link

configure code generation based on enabled lints #49558

Open pq opened 2 years ago

pq commented 2 years ago

Where possible, code that is generated by assists, fixes, refactorings and snippets should be idiomatic with respect to enabled lints. (For example, trailing commas should be inserted where appropriate, absolute imports preferred, var vs. final locals, etc.)

lrhn commented 2 years ago

Agree! And double quotes for auto-added imports.