This plugin has been merged with the official prettier-atom
plugin.
Uninstall prettier-eslint
and install prettier-atom
. Then enable the ESLint integration:
Atom package to format your JavaScript using Prettier and ESLint (with eslint --fix
)
I want an easy way to automatically reformat/fix my code when I save the file.
This uses prettier-eslint
to automatically format and fix on save.
apm install prettier-eslint
Or, Settings → Install → Search for prettier-eslint
- You can configure this package in the settings to format on save.
- The menu: Package →
prettier-eslint
→ Format - Keyboard shortcut: ctrl + alt + f
Configure eslint
for your project and poof, everything should work.
Please open a pull request or file an issue if it doesn't!
This repository is a copy + modification of prettier-atom
Thanks goes to these people (emoji key):
Kent C. Dodds 💻 📖 🚇 |
Luca Barone |
Rob Wise 💻 📖 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT