5 ms·
Is this good/stable now? Worth switching from Pettier and eslint?
by jordn 3y ago
Is this good/stable now? Worth switching from Pettier and eslint?
- iends 3y agoIt links against a more recent glibc than Amazon Linux supports, so in my case it’s not ready for usage on EC2 hosted CI machines.
- ovao 3y agoThe tooling itself is in relatively good shape in my usage, although the VS Code extension currently has a number of rough edges (frequent crashes, etc.). It’s worth a try, but wouldn’t necessarily recommend ‘switching’ wholesale at the moment.
- xctr94 3y agoI suppose it’s “JS-stable”, given it is version 12, cutting 2 majors in 6 months.
- Waterluvian 3y ago“Pettier” whether a typo or not is hilarious and apt. And I’m not even being insulting. I love how petty it is. :)
- awestroke 3y agoHow is it petty? It just formats code, instantly, without complaint. That's almost the opposite of petty
- postalrat 3y agoAs long as it stays away from my code.
- Waterluvian 3y agoIt fixates on trivial things. Petty. Pedantic. Again: I don’t think it’s a bad thing. It’s what I asked for.
- spankalee 3y agoHow does a formatter fixate on anything? It formats. It has to have an opinion on formating.
- dmix 3y agoIt very opinionated. I don't know if that makes it petty though.
- danenania 3y agoI’d say it’s the exact opposite, since it prevents petty arguments over formatting and style.
- deleted 3y ago[deleted]
- progx 3y agoUse it since ~6 month. It is fast and works without bigger problems. But you have to learn and accept, that you can not modify much things like in prettier,. You have to use it as it is. That is the philosophy of their tools. And after a while it is ok. You realize, that you spend before much time to modify everyhting, that is not really necesary.
- meowtimemania 3y agoI love it, I hadn't realized how much time I waste formatting my code until I turned on prettier autoformat in my repo.
- FractalHQ 3y ago3 years of using prettier and I still curse it daily for not letting me have more than 1 empty line to delineate related sections of code in large files for readability.
- spiralx 3y agoAdd `// -----------------` in between blocks to work around this issue, and IMO provide much better delineation of content blocks e.g. imports vs definitions. I do miss C#'s use of macros to allow defining arbitrary blocks that can be named and folded though.
- scns 3y agoIn Jetbrains Webstorm you can create foldable regions. Happy customer. https://www.jetbrains.com/help/webstorm/working-with-source-code.html#use-the-surround-with-action https://www.jetbrains.com/help/webstorm/working-with-source-...
- conaclos 3y agoIt is quite stable at the moment. I would still recommend taking a close look at the changes that Rome suggests, especially for large codebases: I think that some bugs are still expected. The LSP (VSCode extension) is less stable at the moment.