-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
dart-archive/linter
#2557Labels
devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Following-up from flutter/flutter-intellij#2980 (comment), we might consider a rule that enforces the flutter style guide suggestion:
Use a trailing comma for arguments, parameters, and list items, but only if they each have their own line.
Since a major motivation is to give analyzer something to hang quick-fixes from, we might consider enforcing just the first part and allowing dartfmt
to handle line-breaks but maybe this would make the rule less useful for flutter repo committers.
@Hixie: any thoughts?
/cc @jaumard
nickkjordan, Danboe2018, flopshot, renancaraujo, zanderso and 38 moremarcoms, tajchert, Mrtcndkn, andnexus, Empty2k12 and 16 morerenntbenrennt and 2shrestha22
Metadata
Metadata
Assignees
Labels
devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug