Explore tweets tagged as #printwidth
@yusuke_kokubo
こくぼ@Leaner Technologies
3 years
今日の生産性です。(printWidthを変更した)
0
1
7
@JuliaScript
J�lia 🏳️‍⚧️
2 years
Maybe I'm being too extreme, but I set printWidth to 50 in my .prettierrc on personal projects and I'm loving it
1
0
0
@moOchan_coder
出牛 太郎(もーちゃん/Web制作)
1 month
#デイトラコミュニティ EJSなるものをしてみむとしてするなり **.ejs内で、 配列で項目を定義している部分でエラーが発生。 setting.jsonで変更した整形&改行の設定"prettier.printWidth": 80,が原因でした。 きれいに整形されすぎてて、配列内が半角スペースだらけなのに気づきませんでした・・
0
0
7
@yashsehgaldev
ysh
11 months
`printWidth: 160` in the Prettier configuration makes the code look much better; the flat lines are much easier to read.
0
0
1
@overflow_meme
Meme Overflow
4 years
disable printWidth on prettier https://t.co/ZCsHHlWAmo #prettier
0
0
0
@farzad_yz
Farzad Yousefzadeh
3 years
Just so you know, here's how you can set prettier.printWidth to the max column size of a Monaco editor instance.
0
0
2
@siddharthkp
siddharth ☻
4 years
help! what's the prettier config that will let me put the whole return statement in one line? (see pic ↓) looks like if there is more than one prop, it puts children in a new line irrespective of printWidth :(
5
0
7
@FavouriteJome1
Favourite Jome
3 years
At this point, the only solution is to remove the prettier config, since my colleague and I can't agree on the tabWidth and printWidth. Just for confirmation, who likes the way the first image looks? It looks terrible to me 😫
6
0
7
@cubbit2
Cubbit
4 years
でっ、でたーwwww 4Kディスプレイ使ってるのに prettier { printWidth:80 } 奴~~~~wwwwww
0
2
28
@enunomaduro
nunomaduro
2 years
Prettier experts: Is it possible to prevent Prettier from wrapping HTML attributes if the element contains only one attribute? Note: Without touching on the "printWidth" option.
11
2
83
@d4m1n
Dan ⚡️
2 years
TIL 🧠 easily format json as js objects with "inspect" in node.js very cool if you wanna write to a file. it's a poor man's json prettier w/o any dependecies :D you can even control when it should create line breaks with: "breakLength". A bit like prettier's "printWidth"
4
0
26
@teppeis
Teppei Sato
2 years
antfuがPrettierを使わずESLintだけを使う理由。opinionatedであり、特にprintWidthによる強制改行でdiffが見辛くなること、ESLintとの組み合わせが煩雑であること / “Why I don't use Prettier”
0
12
47
@wesbos
Wes Bos
3 years
Is there any downside to setting prettier printWidth to something like 5000? I find it really annoying when writing text inside html or JSX files. My editor will wrap long arrays and sentences for me. (proseWrap doesn't fix this, it's for markdown)
6
1
36
@GussieTech
ガッシー|Repsona
6 years
PrettierのprintWidthデフォルト80文字って厳し過ぎじゃない??こんなにおっきいモニター使ってるのに厳し過ぎじゃない??120くらいなら許されるよね??
2
0
3
@michaelpumo
Michael Pumo
2 years
Product idea: AI-driven @PrettierCode that doesn't format like this just because of some arbitrary printWidth. I would literally pay for that.
0
0
0
@cheenanet
Cheena
3 years
コードの行数で評価 ↓ Prettier の printWidth を40にする、あと余計な機能追加しまくる
0
3
27
@wonderful_panda
いわた
6 years
コードのフォーマットに個人の好みを主張するのは百害あって一利なしだからprettierもデフォルト設定で使うぞ!って言ってたけど、printWidthだけはごめんやっぱ80文字はつらいってなって120文字に広げました。
0
1
3
@jacques_codes
Jacques Blom
5 years
.@PrettierCode Tip: You get to choose whether your objects are single-line or multi-line. This lets you choose the most readable format for that particular object. The only limitation is a single-line object can't be longer than the printWidth. Here's how you do it...
0
0
0
@__sosukesuzuki
sosuke
6 years
めっちゃ個人的には Prettier の printWidth は 100 か 120 にしてます
1
1
1