prettier/prettier-atom

Name: prettier-atom

Owner: Prettier

Description: An atom package for the prettier formatter.

Created: 2017-01-10 04:47:01.0

Updated: 2018-01-18 12:54:31.0

Pushed: 2018-01-17 22:40:57.0

Homepage: null

Size: 1621

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Prettier for Atom Watch on GitHubStar on GitHubTweet

Version Downloads Build Status Code Coverage MIT License All Contributors PRs Welcome

Atom package to format your JavaScript, Typescript, CSS, Sass, and JSON using Prettier. Comes with powerful optional ESLint integration.

Demo

prettier demo

Installation
install prettier-atom

Or go to Settings ? Install and search for prettier-atom.

Make sure to restart Atom after the package is installed.

Usage

There are two modes you can use:

If you use ESLint, check the “ESLint Integration” checkbox and *poof*, everything should work (we use Kent Dodds's 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

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!

Troubleshooting

If Prettier (or prettier-eslint, if ESLint integration is enabled) is not formatting something properly, please open an issue on the relevant GitHub repository. This package is only integrating those projects to be used in Atom.

Inspiration

This repository was created by James Long to go along with his Prettier project. Kent C. Dodds extended Prettier to add eslint --fix integration as 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, Rob Wise merged prettier-eslint-atom back into prettier-atom.

Maintainers

Rob Wise

Contributors

Thanks goes to these people (emoji key):

|
James Long

? ? ? ? ? |
Rob Wise

? ? ? ? ? ?? |
Kent C. Dodds

? ? ? |
Luca Barone

|
Arnar Þór Sveinsson

? |
Adam Miskiewicz

? |
Ori Livni

? | | :—: | :—: | :—: | :—: | :—: | :—: | :—: | |
Leon Chen

? |
Christopher Chedeau

? ? ? |
Christoph Geschwind

? |
Andrew Hutchings

? |
David Schnurr

? |
Ryan Cole

? |
Dara Hak

? ? | |
Stephen John Sorensen

? |
Lukas Geiger

? ?? |
Viktor Charypar

? ?? |
Mats Högberg

? |
Roman

? |
vaibhav

? |
Karl Horky

? | |
Dan Abramov

? |
Murphy Randle

? ? |
Matthieu Lemoine

? |
Ron Green

? |
Harold Treen

? ? |
Nikita Mashukov

? |
Sam Horton

? ?? | |
olsonpm

? |

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

LICENSE

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.