# prettier-atom **Repository Path**: mirrors_gaearon/prettier-atom ## Basic Information - **Project Name**: prettier-atom - **Description**: An atom package for the prettier formatter. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Prettier for Atom [![Watch on GitHub][github-watch-badge]][github-watch][![Star on GitHub][github-star-badge]][github-star][![Tweet][twitter-badge]][twitter] [![Version][version-badge]][package] [![Downloads][downloads-badge]][package] [![Build Status][build-badge]][build] [![Code Coverage][coverage-badge]][coverage] [![MIT License][license-badge]][LICENSE] [![All Contributors][all-contributors-badge]](#contributors) [![PRs Welcome][prs-badge]][prs] Atom package to format your JavaScript using Prettier. Comes with powerful optional ESlint integration. ## Demo ![prettier demo][prettier-demo] ## Installation ``` apm install prettier-atom ``` Or, Settings β†’ Install β†’ Search for `prettier-atom` Make sure to restart Atom app after package installation. ## Usage Use two ways: - Invoke manually using the keyboard shortcut (if no selection, whole file is formatted): ctrl + alt + f - Automatically format on save (requires enabling in Package β†’ `prettier-atom` β†’ Format) If you use ESlint, check the "ESLint Integration" checkbox and poof, everything should work (we use Kent Dodds's [`prettier-eslint`][prettier-eslint] plugin under the hood). We will recursively search up the file tree for your package.json and eslint settings and use them when formatting. ![prettier-eslint demo][prettier-eslint-demo] More detailed descriptions of each option can be found in the Atom settings for this plugin. Please open a pull request or file an issue if you notice bugs or something doesn't work as it should! ## Inspiration This repository was created by [James Long][james-long] to go along with his Prettier project. [Kent C. Dodds][kentcdodds] extended Prettier to add `eslint --fix` integration as [prettier-eslint][prettier-eslint] and forked the original prettier-atom plugin to create the prettier-eslint-atom plugin. Because it became clear that the plugins were very similar and thus maintenance made easier by combining the two, prettier-eslint-atom, [Rob Wise][robwise] merged prettier-eslint back into prettier-atom. ## Maintainers [Rob Wise][robwise] ## Contributors Thanks goes to these people ([emoji key][emojis]): | [
James Long](http://jlongster.com)
πŸ’¬ [πŸ’»](https://github.com/prettier/prettier-atom/commits?author=jlongster) [πŸ“–](https://github.com/prettier/prettier-atom/commits?author=jlongster) πŸ”Œ πŸ‘€ | [
Rob Wise](https://robwise.github.io)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=robwise) [πŸ“–](https://github.com/prettier/prettier-atom/commits?author=robwise) πŸ’¬ πŸ’‘ πŸ‘€ [⚠️](https://github.com/prettier/prettier-atom/commits?author=robwise) | [
Kent C. Dodds](https://kentcdodds.com)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=kentcdodds) [πŸ“–](https://github.com/prettier/prettier-atom/commits?author=kentcdodds) πŸš‡ | [
Luca Barone](https://github.com/cloud-walker)
| [
Arnar Þór Sveinsson](https://github.com/arnarthor)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=arnarthor) | [
Adam Miskiewicz](http://www.adammiskiewicz.com/)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=skevy) | [
Ori Livni](http://www.orilivni.com)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=oriSomething) | | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | [
Leon Chen](https://transcranial.github.io)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=transcranial) | [
Christopher Chedeau](http://blog.vjeux.com/)
πŸ’¬ [πŸ’»](https://github.com/prettier/prettier-atom/commits?author=vjeux) πŸ”Œ | [
Christoph Geschwind](http://christoph-geschwind.de)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=1st8) | [
Andrew Hutchings](https://andrewhutchings.com)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=ahutchings) | [
David Schnurr](http://davidschnurr.com)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=schnerd) | [
Ryan Cole](http://rycole.com/)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=ryancole) | [
Dara Hak](https://github.com/darahak)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=darahak) [πŸ“–](https://github.com/prettier/prettier-atom/commits?author=darahak) | | [
Stephen John Sorensen](http://www.stephenjohnsorensen.com/)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=spudly) | [
Lukas Geiger](https://github.com/lgeiger)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=lgeiger) [⚠️](https://github.com/prettier/prettier-atom/commits?author=lgeiger) | [
Viktor Charypar](https://github.com/charypar)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=charypar) [⚠️](https://github.com/prettier/prettier-atom/commits?author=charypar) | [
Mats HΓΆgberg](http://mats.hgbrg.se)
[πŸ’»](https://github.com/prettier/prettier-atom/commits?author=mhgbrg) | This project follows the [all-contributors][all-contributors] specification. Contributions of any kind welcome! ## LICENSE [MIT](./LICENSE.md) [npm]: https://www.npmjs.com/ [node]: https://nodejs.org [build-badge]: https://img.shields.io/travis/prettier/prettier-atom.svg?style=flat-square [build]: https://travis-ci.org/prettier/prettier-atom [coverage-badge]: https://img.shields.io/codecov/c/github/prettier/prettier-atom.svg?style=flat-square [coverage]: https://codecov.io/github/prettier/prettier-atom [dependencyci-badge]: https://dependencyci.com/github/prettier/prettier-atom/badge?style=flat-square [dependencyci]: https://dependencyci.com/github/prettier/prettier-atom [version-badge]: https://img.shields.io/apm/v/prettier-atom.svg?style=flat-square [package]: https://atom.io/packages/prettier-atom [downloads-badge]: https://img.shields.io/apm/dm/prettier-atom.svg?style=flat-square [license-badge]: https://img.shields.io/apm/l/prettier-atom.svg?style=flat-square [license]: https://github.com/prettier/prettier-atom/blob/master/LICENSE [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square [prs]: http://makeapullrequest.com [coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square [coc]: https://github.com/prettier/prettier-atom/blob/master/other/CODE_OF_CONDUCT.md [roadmap-badge]: https://img.shields.io/badge/%F0%9F%93%94-roadmap-CD9523.svg?style=flat-square [roadmap]: https://github.com/prettier/prettier-atom/blob/master/other/ROADMAP.md [github-watch-badge]: https://img.shields.io/github/watchers/prettier/prettier-atom.svg?style=social [github-watch]: https://github.com/prettier/prettier-atom/watchers [github-star-badge]: https://img.shields.io/github/stars/prettier/prettier-atom.svg?style=social [github-star]: https://github.com/prettier/prettier-atom/stargazers [twitter]: https://twitter.com/intent/tweet?text=Check%20out%20prettier-atom!%20https://github.com/prettier/prettier-atom%20%F0%9F%91%8D [twitter-badge]: https://img.shields.io/twitter/url/https/github.com/prettier/prettier-atom.svg?style=social [emojis]: https://github.com/kentcdodds/all-contributors#emoji-key [all-contributors]: https://github.com/kentcdodds/all-contributors [all-contributors-badge]: https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square [prettier]: https://github.com/prettier/prettier [prettier-eslint]: https://github.com/prettier/prettier-eslint [kentcdodds]: https://github.com/kentcdodds [james-long]: https://github.com/jlongster [robwise]: https://github.com/robwise [prettier-demo]: https://github.com/prettier/prettier-atom/raw/master/prettier-demo.gif [prettier-eslint-demo]: https://github.com/prettier/prettier-atom/raw/master/prettier-eslint-demo.gif