Skip to content

zboro/atom-esformatter

 
 

Repository files navigation

esformatter

Atom package

Beautify JavaScript using esformatter

Issues with the output should be reported on the esformatter issue tracker.

Install

$ apm install esformatter

Or Settings → Packages → Search for esformatter

Usage

Open the Command Palette, and type esformatter.

Can also be run on just a selection. For example the code in a <script> tag.

There's a Format On Save option in the Settings.

Some plugins are bundled. PR welcome for more.

Just add the ones you want to your config file:

{
	"plugins": [
		"esformatter-braces"
	]
}

License

MIT © Sindre Sorhus

Packages

No packages published

Languages

  • JavaScript 90.2%
  • HTML 9.8%