• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

prettier-eslint

DEPRECATED! Install prettier-atom (enable ESLint integration) instead
  • #javascript
  • #prettier
  • #eslint
  • #formatter
kentcdodds
1.2.9 3,953
8
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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:

Settings Screenshot

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

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

  • 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!

Inspiration

This repository is a copy + modification of prettier-atom

Contributors

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!

LICENSE

MIT

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by