What's your favourite TypeScript style guide (and why)?
Moray Macdonald

Moray Macdonald @moraym

About: Experienced but always learning! I've built everything from CRMs to VR training, financial modelling to city planning. I've seen all sorts on my software development journey and want to share it here.

Location:
Wiltshire, UK
Joined:
Sep 8, 2021

What's your favourite TypeScript style guide (and why)?

Publish Date: Sep 6 '23
1 2

I had an interesting chat with another dev about the pros and cons of different style guides yesterday and was interested to see what everyone else uses.

Personally I like how prescriptive the AirBnB style guide is (with the TS addon, I know it's not officially supported) which really helps with readability across large projects, but I know not everyone likes.

So, what's your favourite? React for the poll, and comment why!

(in alphabetical order 😉)

💖 I like AirBnB
🦄 I like Google
🤯 I like Standard
🙌 I like XO
🔥 I use some other style guide (write in)/I have my own rules

Comments 2 total

  • Bo Andersen
    Bo AndersenOct 25, 2023

    It would be nice if someone would write an article about the different style guides. In my opinion, it should be concise and focus on the layout, rather than the implementation details of the code.

    • Moray Macdonald
      Moray MacdonaldOct 25, 2023

      Agreed! I would love to see such a guide. I'll see if I can find a suitable boilerplate repo that I can experiment with - no promises though ;)

Add comment