-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
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.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-lint-proposal
Description
The new dot shorthands feature looks very nice and makes the code cleaner (in most cases). I wish there was a linter rule (and maybe a dart fix) to prefer the shorthand form over the long form, to enforce a single style in a codebase.
I am not yet convinced that all types of shorthands are more readable, so I propose the lints are split for all the different types: enums, constructors, static members etc, so they can be enabled individually.
posxposy, kosratdev, FMorschel, PiotrRogulski, okmsbun and 23 morestephane-archer, zajrik and gustawaio
Metadata
Metadata
Assignees
Labels
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.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-lint-proposal