Add 'prettier' fixer support to TypeScript, CSS, SCSS and JSON (#910)

* Add prettier fixer support for typescript

* Add prettier fixer support for css and scss

* Add prettier fixer support for json

* Use getbufvar() to get &filetype
This commit is contained in:
Peter Renström authored and w0rp committed 2017-09-06 15:21:26 +01:00
1 parent c277cdef8c
commit 03f1c1e81b
13 files changed
+126 -10

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ let s:default_registry = {
\ },
\ 'prettier': {
\ 'function': 'ale#fixers#prettier#Fix',
\ 'suggested_filetypes': ['javascript'],
\ 'suggested_filetypes': ['javascript', 'typescript', 'json', 'css', 'scss'],
\ 'description': 'Apply prettier to a file.',
\ },
\ 'prettier_eslint': {