Fix options supported by beautifiers

This commit is contained in:
Steven Zeck 2018-02-20 14:49:58 -06:00
parent db80ba6ac7
commit 7c2c0d3541
6 changed files with 24 additions and 4677 deletions

View File

@ -202,7 +202,7 @@ See [all supported options in the documentation at `docs/options.md`](docs/opti
| TSS | `TSS` |`.tss` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** | | TSS | `TSS` |`.tss` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
| TSX | `TypeScriptReact` |`.tsx` | **[`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter)** | | TSX | `TypeScriptReact` |`.tsx` | **[`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter)** |
| Twig | `HTML (Twig)` |`.twig` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** | | Twig | `HTML (Twig)` |`.twig` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
| TypeScript | `TypeScript` |`.ts` | **[`Prettier`](https://github.com/prettier/prettier)**, [`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter) | | TypeScript | `TypeScript` |`.ts` | **[`TypeScript Formatter`](https://github.com/vvakame/typescript-formatter)**, [`Prettier`](https://github.com/prettier/prettier) |
| UX Markup | `UX` |`.ux` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** | | UX Markup | `UX` |`.ux` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |
| Vala | `Vala` |`.vala`, `.vapi` | **[`Uncrustify`](https://github.com/uncrustify/uncrustify)** | | Vala | `Vala` |`.vala`, `.vapi` | **[`Uncrustify`](https://github.com/uncrustify/uncrustify)** |
| Visualforce | `Visualforce` |`.page` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** | | Visualforce | `Visualforce` |`.page` | **[`Pretty Diff`](https://github.com/prettydiff/prettydiff)** |

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ module.exports = class CoffeeFormatter extends Beautifier
link: "https://github.com/Glavin001/Coffee-Formatter" link: "https://github.com/Glavin001/Coffee-Formatter"
options: { options: {
CoffeeScript: true CoffeeScript: false
} }
beautify: (text, language, options) -> beautify: (text, language, options) ->

View File

@ -5,7 +5,7 @@ module.exports = class TypeScriptFormatter extends Beautifier
name: "TypeScript Formatter" name: "TypeScript Formatter"
link: "https://github.com/vvakame/typescript-formatter" link: "https://github.com/vvakame/typescript-formatter"
options: { options: {
TypeScript: true TypeScript: false
TSX: true TSX: true
} }

View File

@ -6,7 +6,7 @@ module.exports = class VueBeautifier extends Beautifier
link: "https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/vue-beautifier.coffee" link: "https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/vue-beautifier.coffee"
options: options:
Vue: true Vue: false
beautify: (text, language, options) -> beautify: (text, language, options) ->
return new @Promise((resolve, reject) => return new @Promise((resolve, reject) =>

File diff suppressed because it is too large Load Diff