/atom-esformatter

Beautify JavaScript

Primary LanguageJavaScriptMIT LicenseMIT

esformatter

Beautify JavaScript using esformatter

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

Install

$ apm install esformatter

Or, Settings → Install → 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.

Config

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