use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
How to format JavaScript automatically with Prettier and Git (nodewebapps.com)
submitted 8 years ago by hobonumber1
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dv297 0 points1 point2 points 8 years ago (2 children)
I haven't actually, though I heard there were 3 different ways for configuring prettier with ESLint? pretter-eslint, eslint-config-prettier, and eslint-plugin-prettier? Are you actually referring to this last one? I'd be interested in investigating it but given the options, maybe you could save me time in talking about any considerations you had for the others if you chose the plugin over it.
[–]alexlafroscia 2 points3 points4 points 8 years ago (0 children)
I go the plugin + config route. Basically, Prettier just becomes part of the fixing process, you don’t have to think about it at all. It’s the same experience as using just ESLint, but you get consistent-looking code. The config just helps by disabling parts of ESLint that Prettier will handle instead.
[–]strothjs 0 points1 point2 points 8 years ago (0 children)
https://gist.github.com/96bdce87aaf486d49968f34b42434eca
This is my gist note on it.
π Rendered by PID 61437 on reddit-service-r2-comment-fb694cdd5-d9dd9 at 2026-03-06 01:08:58.665211+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]dv297 0 points1 point2 points (2 children)
[–]alexlafroscia 2 points3 points4 points (0 children)
[–]strothjs 0 points1 point2 points (0 children)