Start new post
This commit is contained in:
22
content/posts/2026/02/dart-format-stupidity/index.md
Normal file
22
content/posts/2026/02/dart-format-stupidity/index.md
Normal file
@@ -0,0 +1,22 @@
|
||||
+++
|
||||
title = 'Dart Format Stupidity'
|
||||
date = 2026-02-02T21:19:31+01:00
|
||||
lastmod = 2026-02-02T21:19:31+01:00
|
||||
draft = true
|
||||
author = 'Janis Hutz'
|
||||
tags = [ 'Development' ]
|
||||
categories = [ 'Rants' ]
|
||||
series = []
|
||||
series_weight = 1
|
||||
featuredImage = ""
|
||||
+++
|
||||
|
||||
Dart format is *really f\*ing stupid*
|
||||
|
||||
Like who thought that having a formatter *so opinionated* that you can't even change the ***indentation style*** is truly baffling.
|
||||
|
||||
Prettier, a famously opinionated formatter, allows you to change the indentation style, as that is one of the common choices people make.
|
||||
I do understand that giving very many options (like Eslint does) can be very overwhelming and may not satisfy the "Dart Style Guide".
|
||||
|
||||
But, if you degrade the developer experience so much by forcing a 2 space indent
|
||||
(which, according to some polls, more developers dislike it than there are developers who either don't care or like it, combined).
|
||||
Reference in New Issue
Block a user