Andrew (Nannoo) · @nannooskeeska
34 followers · 51 posts · Server fosstodon.org

Has anyone had success using Tailwind with Astro in VSCode? Turns out the Headwind extension, which I use to sort Tailwind classes on save, doesn't work on Astro files. I spent a couple hours last night trying to setup ESLint/Prettier to get the same functionality but I had a lot of issues. If anyone has a repo they could point to where that is working, please let me know.

#withastro #tailwindcss #eslint #prettier

Last updated 1 year ago

felix · @felixthehat
352 followers · 1302 posts · Server mastodon.cloud

does anyone know how to prevent my attributes from formatting into a single line when saving my vue components?

I long ago lost the battle against prettier/eslint/vscode and just tend to leave it to it but I find this particularly irritating

#vue #nuxt #vscode #prettier #eslint #webdev

Last updated 1 year ago

Boris Schapira · @boostmarks
393 followers · 183 posts · Server hachyderm.io

I've been suffering lately from the fact that Visual Studio Code isn't compatible with the way Volta install Prettier globally.

Saw an issue about this in Volta, but unsure it's not a VS code issue instead: github.com/volta-cli/volta/iss

Has anyone solved this problem?

#volta #vscode #prettier

Last updated 1 year ago

Trent Mick · @trentm
42 followers · 48 posts · Server hachyderm.io

A prettier JS code-formatting option I kind of want is to say: while code wraps at 80 columns, **don't wrap a template string if it fits in, say, 100 or 120 columns.** Basically internally wrapping template strings feels less readable.

#prettier #javascript #nodejs

Last updated 1 year ago

Tiberiu Ichim · @tiberiuichim
59 followers · 237 posts · Server fosstodon.org

To my absolute surprise, scaffolded apps don't come with and/or working OOTB.

#nextjs #eslint #prettier

Last updated 1 year ago

Scripter :verified_flashing: · @scripter
306 followers · 1685 posts · Server social.tchncs.de

: 3.0 bringt Breaking Changes für | heise online
heise.de/-9208710

#codeformatierung #prettier #javascript

Last updated 1 year ago

Matthias Andrasch · @mandrasch
243 followers · 490 posts · Server social.tchncs.de

Is anybody already working on + ? Thx in advance for replies! 👋 /cc @CraftCMS @PrettierCode 4/4

#prettier #twig

Last updated 1 year ago

Matthias Andrasch · @mandrasch
243 followers · 490 posts · Server social.tchncs.de

Is anybody already working on + ? Thx in advance for replies! 👋 /cc @CraftCMS @PrettierCode 4/4

#prettier #twig

Last updated 1 year ago

Matthias Andrasch · @mandrasch
241 followers · 483 posts · Server social.tchncs.de

Started to really work with projects a month ago, so far it seems to be an awesome fit for agency projects + dev teamwork.🥰 Kudos!

Only thing I miss is a solid plugin for auto-formatting of craft twig files in vscode. 😢 1/ github.com/trivago/prettier-pl

#twig #prettier #craftcms

Last updated 1 year ago

Today's my first day trying .

Not sure how I feel about the built in and formatter yet; me and are besties, and I have gotten used to

Still gonna give it a try.

#dependencies #code #programming #javascript #npmjs #npm #node #nodejs #webdev #eslint #prettier #linter #deno

Last updated 1 year ago

Nikita · @kytta
303 followers · 729 posts · Server fosstodon.org

@marcamos @pepelsbey just curious, what don't you like about it? I find it quite good, and I like the way it splits tags to put every attribute on its own line (= better git diffs) and to conserve spaces / the lack thereof. The only problem I have with (across all languages) is the fact that it collapses the multi-line structures if there is space, which I almost never want.

#prettier

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
187 followers · 1119 posts · Server mas.to
Thomas Michael Semmler · @nachtfunke
370 followers · 1094 posts · Server indieweb.social

I am not choosing to use this nasty piece of tech, but I have to.

And now I am trying to solve some problems that are with no doubt my own fault, if you have some ideas: stackoverflow.com/questions/76

Because I am forced to use all other sorts of nasty tech, in this case Next.js, the order of imports is actually very relevant. Prettier runs in a CI context here. If it reorders the imports incorrectly, the site breaks.

#javascript #prettier

Last updated 2 years ago

Steffen Mutter :mv: :oops: · @SMut7
165 followers · 442 posts · Server toot.bike

Also mit und ist ja schon klasse fürs , wenn man es denn mal so hinbekommt, dass es das macht was man will - mit dem wie ich es kenne, hat das aber überhaupt nichts mehr zu tun:
Allein den Editor so zu trimmen, dass und mit den Konfigs in zusammenarbeiten war echt nervtötend.
Für das Backend mit wird das nicht so nervenaufreibend werden, hoffe ich...

#react #bootstrap #typescript #frontend #javascript #vscodium #prettier #eslint #python #cgi

Last updated 2 years ago

Steffen Mutter :mv: :oops: · @SMut7
165 followers · 442 posts · Server toot.bike

Also mit und ist ja es schon klasse, wenn man es denn mal so hinbekommt, dass es das macht was man will.
Aber mit dem wie ich es kenne, hat das überhaupt nichts mehr zu tun.
Allein den Editor so zu trimmen, dass und mit zusammenarbeiten war echt nervtötend.
Für das Backend mit wird das nicht so nervenaufreibend werden, hoffe ich...

#react #bootstrap #typescript #javascript #vscodium #prettier #eslint #python #cgi

Last updated 2 years ago

Chris Minnick · @chrisminnick
358 followers · 220 posts · Server hachyderm.io

My latest (and greatest) book, JavaScript All-in-One For Dummies, is available now!

Every junior developer or aspiring JS developer needs this book, imho.

The book teaches modern , how browsers work, using like a pro, , , , , , , , , , , , , , , and finishes with a chapter on authentication with .

It took me 6 months to write and is over 800 pages.

amzn.to/3GIMRGX

#javascript #vscode #git #prettier #eslint #vite #webpack #react #vue #svelte #http #jest #node #Express #mongodb #mongoose #jwt

Last updated 2 years ago

Okay it's been 6 years: we should probably have a long discussion on how is the most successful project of the last decade

It knows exactly what it is and isn't, never breaks on me, is incredibly missed when it's not there. Unproblematic king 👑

#programming #node #npm #web #frontend #webdevelopment #webdev #js #nodejs #javascript #prettier

Last updated 2 years ago

Art Rosnovsky · @rosnovsky
248 followers · 1278 posts · Server lounge.town

I don't know who could possibly need or want this. Yet here we are.

github.com/rosnovsky/nvim

#neovim #nvim #vim #typescript #prettier

Last updated 2 years ago

Leonid :mastodance: · @leonid
329 followers · 889 posts · Server norden.social

Da ich oft kleine -Projekte anlege und statt Create-React-App Vite nutze, habe ich ein kleines Skript geschrieben. Damit wird automatisch auch und installiert. Mit .

github.com/leonidlezner/create

#react #tailwindcss #prettier #typescript

Last updated 2 years ago

Piet van Zoen · @pietvanzoen
117 followers · 183 posts · Server indieweb.social

I've been thinking about the number of discussions about whitespace in I was involved in before came along. I do not miss a single one of them. 😬🎉

#prettier #javascript

Last updated 2 years ago