Add prettier-standard support (#702)

* Add prettier-standard support

* Update ale-javascript.txt

Remove a duplicated header line.
This commit is contained in:
Adam Stankiewicz
2017-06-28 17:35:19 +02:00
committed by w0rp
parent 8846a8860f
commit 7eec1f2efc
5 changed files with 62 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['python'],
\ 'description': 'Fix PEP8 issues with autopep8.',
\ },
\ 'prettier_standard': {
\ 'function': 'ale#fixers#prettier_standard#Fix',
\ 'suggested_filetypes': ['javascript'],
\ 'description': 'Apply prettier-standard to a file.',
\ },
\ 'eslint': {
\ 'function': 'ale#fixers#eslint#Fix',
\ 'suggested_filetypes': ['javascript', 'typescript'],