feat(fixer): add Prettier fixer (using Prettier-ESLint CLI) + docs

This commit is contained in:
tunnckoCore
2017-05-22 01:03:33 +03:00
committed by w0rp
parent c4f22186bd
commit 8e8113ff6f
3 changed files with 93 additions and 0 deletions

View File

@@ -17,6 +17,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['javascript'],
\ 'description': 'Apply eslint --fix to a file.',
\ },
\ 'prettier': {
\ 'function': 'ale#handlers#prettier#Fix',
\ 'suggested_filetypes': ['javascript'],
\ 'description': 'Apply prettier (with ESLint integration) to file',
\ },
\ 'isort': {
\ 'function': 'ale#handlers#python#ISort',
\ 'suggested_filetypes': ['python'],