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
20082026
-
…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…
comment by Defletter · 2025-02-21 · in Software development topics I've changed my mind on -
…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…
comment by Defletter · 2025-02-06 · in Software development topics I've changed my mind on -
…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? -
…of a forced migration. [1]: https://www.dartlang.org/guides/language/effective-dart/usag... [2]: https://github.com/dart-lang/dart_style
comment by munificent · 2018-08-07 · in Announcing Dart 2 Stable and the Dart Web Platform -
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) -
…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 -
…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…
comment by munificent · 2015-09-12 · in “People who implement new and improved interfaces always seem to get that wrong”