# Unibeautify Documentation
# Source: https://unibeautify.com/docs/language-javascript

**[Atom](https://atom.io/) Grammars**: JavaScript

**[VSCode](https://code.visualstudio.com/) Languages**: javascript

**File Patterns** : `**/Jakefile`, `**/*._js`, `**/*.bones`, `**/*.es`,
`**/*.es6`, `**/*.frag`, `**/*.gs`, `**/*.jake`, `**/*.js`, `**/*.jsb`,
`**/*.jscad`, `**/*.jsfl`, `**/*.jsm`, `**/*.jss`, `**/*.mjs`, `**/*.njs`,
`**/*.pac`, `**/*.sjs`, `**/*.ssjs`, `**/*.xsjs`, `**/*.xsjslib`

## Supported Beautifiers

Beautifier| Options| Downloads| Stars| Issues  
---|---|---|---|---  
[ESLint](/docs/beautifier-eslint)| 17| [![@unibeautify/beautifier-eslint npm
downloads](https://img.shields.io/npm/dm/@unibeautify/beautifier-
eslint.svg?style=flat-
square)](https://www.npmjs.com/package/@unibeautify/beautifier-eslint)|
[![GitHub Stars](https://img.shields.io/github/stars/Unibeautify/beautifier-
eslint.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
eslint/stargazers)| [![GitHub
Issues](https://img.shields.io/github/issues/Unibeautify/beautifier-
eslint.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
eslint/issues)  
[JS-Beautify](/docs/beautifier-js-beautify)| 17| [![@unibeautify/beautifier-
js-beautify npm
downloads](https://img.shields.io/npm/dm/@unibeautify/beautifier-js-
beautify.svg?style=flat-
square)](https://www.npmjs.com/package/@unibeautify/beautifier-js-beautify)|
[![GitHub Stars](https://img.shields.io/github/stars/Unibeautify/beautifier-
js-beautify.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
js-beautify/stargazers)| [![GitHub
Issues](https://img.shields.io/github/issues/Unibeautify/beautifier-js-
beautify.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-js-
beautify/issues)  
[Prettier](/docs/beautifier-prettier)| 11| [![@unibeautify/beautifier-prettier
npm downloads](https://img.shields.io/npm/dm/@unibeautify/beautifier-
prettier.svg?style=flat-
square)](https://www.npmjs.com/package/@unibeautify/beautifier-prettier)|
[![GitHub Stars](https://img.shields.io/github/stars/Unibeautify/beautifier-
prettier.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
prettier/stargazers)| [![GitHub
Issues](https://img.shields.io/github/issues/Unibeautify/beautifier-
prettier.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
prettier/issues)  
[Pretty Diff](/docs/beautifier-pretty-diff)| 11| [![@unibeautify/beautifier-
prettydiff npm
downloads](https://img.shields.io/npm/dm/@unibeautify/beautifier-
prettydiff.svg?style=flat-
square)](https://www.npmjs.com/package/@unibeautify/beautifier-prettydiff)|
[![GitHub Stars](https://img.shields.io/github/stars/Unibeautify/beautifier-
prettydiff.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
prettydiff/stargazers)| [![GitHub
Issues](https://img.shields.io/github/issues/Unibeautify/beautifier-
prettydiff.svg?style=flat-square)](https://github.com/Unibeautify/beautifier-
prettydiff/issues)  
  
## Options

#| Option| [ESLint](/docs/beautifier-eslint)| [JS-Beautify](/docs/beautifier-
js-beautify)| [Prettier](/docs/beautifier-prettier)| [Pretty
Diff](/docs/beautifier-pretty-diff)  
---|---|---|---|---|---  
1| [Align Assignments](/docs/option-align-assignments?language=javascript)| ❌|
❌| ❌| ✅  
2| [Arrow Parens](/docs/option-arrow-parens?language=javascript)| ✅| ❌| ✅| ❌  
3| [Brace Style](/docs/option-brace-style?language=javascript)| ✅| ✅| ❌| ❌  
4| [Break Chained Methods](/docs/option-break-chained-
methods?language=javascript)| ✅| ✅| ❌| ✅  
5| [Comma First](/docs/option-comma-first?language=javascript)| ✅| ✅| ❌| ❌  
6| [End With Comma](/docs/option-end-with-comma?language=javascript)| ✅| ❌| ✅|
✅  
7| [End With Newline](/docs/option-end-with-newline?language=javascript)| ✅|
✅| ❌| ❌  
8| [End With Semicolon](/docs/option-end-with-semicolon?language=javascript)|
✅| ❌| ✅| ❌  
9| [Indent Chained Methods](/docs/option-indent-chained-
methods?language=javascript)| ✅| ✅| ❌| ❌  
10| [Indent Comments](/docs/option-indent-comments?language=javascript)| ❌| ❌|
❌| ✅  
11| [Indent Size](/docs/option-indent-size?language=javascript)| ✅| ✅| ✅| ✅  
12| [Indent Style](/docs/option-indent-style?language=javascript)| ✅| ✅| ✅| ✅  
13| [JSLint Happy](/docs/option-jslint-happy?language=javascript)| ❌| ✅| ❌| ❌  
14| [JSX Brackets](/docs/option-jsx-brackets?language=javascript)| ❌| ❌| ✅| ❌  
15| [Keep Array Indentation](/docs/option-keep-array-
indentation?language=javascript)| ✅| ✅| ❌| ❌  
16| [Max Preserve Newlines](/docs/option-max-preserve-
newlines?language=javascript)| ❌| ✅| ❌| ✅  
17| [Multiline Ternary](/docs/option-multiline-ternary?language=javascript)|
❌| ❌| ❌| ✅  
18| [Object Curly Spacing](/docs/option-object-curly-
spacing?language=javascript)| ✅| ❌| ✅| ❌  
19| [Pragma Insert](/docs/option-pragma-insert?language=javascript)| ❌| ❌| ✅|
❌  
20| [Pragma Require](/docs/option-pragma-require?language=javascript)| ❌| ❌|
✅| ❌  
21| [Preserve Newlines](/docs/option-preserve-newlines?language=javascript)|
❌| ✅| ❌| ❌  
22| [Quotes](/docs/option-quotes?language=javascript)| ✅| ❌| ✅| ✅  
23| [Remove Trailing Whitespace](/docs/option-remove-trailing-
whitespace?language=javascript)| ✅| ❌| ❌| ❌  
24| [Space After Anon Function](/docs/option-space-after-anon-
function?language=javascript)| ✅| ✅| ❌| ✅  
25| [Space Before Conditional](/docs/option-space-before-
conditional?language=javascript)| ✅| ✅| ❌| ❌  
26| [Space In Empty Paren](/docs/option-space-in-empty-
paren?language=javascript)| ❌| ✅| ❌| ❌  
27| [Space In Paren](/docs/option-space-in-paren?language=javascript)| ✅| ✅|
❌| ❌  
28| [Unescape Strings](/docs/option-unescape-strings?language=javascript)| ❌|
✅| ❌| ❌  
29| [Wrap Line Length](/docs/option-wrap-line-length?language=javascript)| ❌|
✅| ✅| ✅