Hacker GitHub

← All repos

dart-lang/dart_style

View on GitHub ↗ ★ 700 Dart

An opinionated formatter/linter for Dart code

7 mentions on Hacker News by 3 people: 0 stories, 7 comments · first 2015-09-12 · latest 2025-02-21

Mentions per year 7 mentions · busiest year 2018 (2)
20082026
  1. …tells developers who are unhappy with the output to change their code to satisfy the formatter ( https://github.com/dart-lang/dart_style/wiki/FAQ#i-dont-like... ), rather than allowing developers to tweak the formatter to satisfy their…
  2. …when they don't, it's irritating. For example, Dart is finally coming around on the "tall" style ( https://github.com/dart-lang/dart_style/issues/1253 ). But why should people be forced to wait for a committee (or some other lofty…
  3. …rewriting it? The primary driver is that we're moving to a fairly different formatting style: https://github.com/dart-lang/dart_style/issues/1253 The formatter works sort of like a compiler in that it parses the code, translates it to an…
    comment by munificent · 2024-02-20 · in Why is Prettier rock solid?
  4. …of a forced migration. [1]: https://www.dartlang.org/guides/language/effective-dart/usag... [2]: https://github.com/dart-lang/dart_style
  5. Yes! There is a whole separate class just to handle formatting method chains: https://github.com/dart-lang/dart_style/blob/master/lib/src/...
    comment by munificent · 2018-06-10 · in The Hardest Program I've Ever Written (2015)
  6. …decision [0]. I'm never afraid to peek into unfamiliar code because of that. So thank you. [0] https://github.com/dart-lang/dart_style/wiki/FAQ#why-cant-i-...
    comment by korm · 2017-01-10 · in A Prettier JavaScript Formatter
  7. …you greater freedom to reorganize your implementation. For example, I work on a code formatter: https://github.com/dart-lang/dart_style It has a metric ton of tests, which is absolutely critical for ensuring a change to one corner of the…