googlearchive / pedantic

How to get the most value from Dart static analysis
https://pub.dev/packages/pedantic
BSD 3-Clause "New" or "Revised" License
324 stars 56 forks source link

Rephrase README - the lints reach outside the scope of effective Dart #38

Closed natebosch closed 4 years ago

natebosch commented 4 years ago

The readme says:

Note that everything here fits within the guidelines set out in Effective Dart. You could think of that document as the design and this package as one possible partial implementation.

I don't think that is quite true. Effective Dart is intentionally not opinionated about double vs single quotes, for instance.

I think we should find a way to explain that in addition to best practices, we also add lints for the sake of having consistent style when there are competing but equal options.

davidmorgan commented 4 years ago

Thanks, you are correct. I think I'll explicitly list lints that are stricter than Effective Dart.