Home

Awesome

prettier-eslint (for Atom)

DEPRECATED

This plugin has been merged with the official prettier-atom plugin.

Uninstall prettier-eslint and install prettier-atom. Then enable the ESLint integration:

<a href="https://atom.io/packages/prettier-atom" title="Enable ESLint integration"> <img src="https://github.com/kentcdodds/prettier-eslint-atom/raw/master/other/prettier-atom-settings.png" alt="Settings Screenshot" title="Settings Screenshot" width="700" /> </a>

Atom package to format your JavaScript using Prettier and ESLint (with eslint --fix)

<!-- [![Code Coverage][coverage-badge]][coverage] TODO! Add coverage! -->

Build Status Dependencies version downloads MIT License

All Contributors PRs Welcome Donate Code of Conduct Roadmap Examples

Watch on GitHub Star on GitHub Tweet

demo

The problem

I want an easy way to automatically reformat/fix my code when I save the file.

This solution

This uses prettier-eslint to automatically format and fix on save.

Installation

apm install prettier-eslint

Or, Settings → Install → Search for prettier-eslint

Usage

Configure eslint for your project and poof, everything should work.

Please open a pull request or file an issue if it doesn't!

Inspiration

This repository is a copy + modification of prettier-atom

Contributors

Thanks goes to these people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub>Kent C. Dodds</sub><br />💻 📖 🚇<img src="https://avatars.githubusercontent.com/u/1144075?v=3" width="100px;"/><br /><sub>Luca Barone</sub><br /><img src="https://avatars.githubusercontent.com/u/6173488?v=3" width="100px;"/><br /><sub>Rob Wise</sub><br />💻 📖
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!

LICENSE

MIT