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.
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 u/I3uckwheat 21 Oct 2019 18:12
I really like the airbnb style guide, I only don't follow the "arrow functions only" rule
0 u/user9713 [OP] 21 Oct 2019 19:56
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 u/I3uckwheat 23 Oct 2019 21:24
Yup, they did. Works well with eslint
0 u/libman 24 Oct 2019 02:52
The Official Style Guide:
You do not use JavaScript!
YOU DO NOT USE JAVASCRIPT!
Use a decent statically-typed programming language. If WebAssembly isn't good enough, use something that compiles directly to JavaScript, like Nim.
0 u/user9713 [OP] 24 Oct 2019 03:20
Thanks! I never knew anything about this.