4 ms·
I really like it for personal stuff. I'd like to hear how people are using it on teams. With some effort I got it working on save in emacs, but asking other pe
by gyrgtyn 10y ago
I really like it for personal stuff.
I'd like to hear how people are using it on teams. With some effort I got it working on save in emacs, but asking other people to please install more tooling is not always easy.
I do have some authority over package.json though. How would you make it just work for everyone (using atom, vim, etc...)
- rattray 10y agoOne option is to add prettier as a precommit hook, eg; https://github.com/prettier/prettier#pre-commit-hook-for-changed-files https://github.com/prettier/prettier#pre-commit-hook-for-cha... which doesn't require editor integrations at all. There are integrations for most editors (Atoms, Emacs, Vim, Neovim, VSCode, VS, Sublime Text, JetBrains): https://github.com/prettier/prettier#editor-integration https://github.com/prettier/prettier#editor-integration
- ftlio 10y agoDoes it jump your cursor around? I'd be interested in your config if it doesn't.