dart-lang / site-www

Source for Dart website
https://dart.dev
Other
966 stars 695 forks source link

'Pubspec Format' page: document ideal 'description' length #1305

Closed kevmoo closed 5 years ago

kevmoo commented 5 years ago

Page URL: https://www.dartlang.org/tools/pub/pubspec#description Page source: https://github.com/dart-lang/site-www/tree/master/src/tools/pub/pubspec.md

Should be >= 60 && <= 180

https://github.com/dart-lang/pana/blob/820ce672ccaf5b950e028737219f55aa57e185ef/lib/src/maintenance.dart#L376-L400

kevmoo commented 5 years ago

See also https://github.com/dart-lang/pub-dartlang-dart/issues/1923

Per @isoos – maybe we should just link to pkg:pana so folks can see how we evaluate health...

isoos commented 5 years ago

We have already talked in a related topic with @jonasfj: pana right has three major parts:

The later includes the suggested length of the description field, and a few more similar checks. We thought that these should be probably done in a separate package, maybe also included in pub client's suggestions before upload.

What do you think, should we create a canonical place for such "surface scans"?

kwalrath commented 5 years ago

Fixed by #1640.