JavaScript: Do you use a style guide?

1    21 Oct 2019 01:28 by u/user9713

I'm thinking of going with Standard. I don't know if others exist or not, but I'm interested in what the pros have to say.

5 comments

0

I really like the airbnb style guide, I only don't follow the "arrow functions only" rule

0

I thought you were pulling my leg, but there is a style guide called airbnb. Did the company really make a style guide or was it just the name that someone gave it?

0

Yup, they did. Works well with eslint

0

The Official Style Guide:

  1. You do not use JavaScript!

  2. YOU DO NOT USE JAVASCRIPT!

  3. Use a decent statically-typed programming language. If WebAssembly isn't good enough, use something that compiles directly to JavaScript, like Nim.

0

Use a decent statically-typed programming language. If someone is forcing you to do some annoying client-side-dynamic Web-shit, and WebAssembly isn't good enough, use something that compiles directly to JavaScript, like Nim, etc.

Thanks! I never knew anything about this.