Merge pull request #1329 from blyoa/prettier-vue
Add prettier fixer support to vue
This commit is contained in:
		
						commit
						7c4decf804
					
				@ -162,6 +162,7 @@ formatting.
 | 
				
			|||||||
| Verilog | [iverilog](https://github.com/steveicarus/iverilog), [verilator](http://www.veripool.org/projects/verilator/wiki/Intro) |
 | 
					| Verilog | [iverilog](https://github.com/steveicarus/iverilog), [verilator](http://www.veripool.org/projects/verilator/wiki/Intro) |
 | 
				
			||||||
| Vim | [vint](https://github.com/Kuniwak/vint) |
 | 
					| Vim | [vint](https://github.com/Kuniwak/vint) |
 | 
				
			||||||
| Vim help^ | [alex](https://github.com/wooorm/alex) !!, [proselint](http://proselint.com/), [write-good](https://github.com/btford/write-good) |
 | 
					| Vim help^ | [alex](https://github.com/wooorm/alex) !!, [proselint](http://proselint.com/), [write-good](https://github.com/btford/write-good) |
 | 
				
			||||||
 | 
					| Vue | [prettier](https://github.com/prettier/prettier) |
 | 
				
			||||||
| XHTML | [alex](https://github.com/wooorm/alex) !!, [proselint](http://proselint.com/), [write-good](https://github.com/btford/write-good) |
 | 
					| XHTML | [alex](https://github.com/wooorm/alex) !!, [proselint](http://proselint.com/), [write-good](https://github.com/btford/write-good) |
 | 
				
			||||||
| XML | [xmllint](http://xmlsoft.org/xmllint.html) |
 | 
					| XML | [xmllint](http://xmlsoft.org/xmllint.html) |
 | 
				
			||||||
| YAML | [swaglint](https://github.com/byCedric/swaglint), [yamllint](https://yamllint.readthedocs.io/) |
 | 
					| YAML | [swaglint](https://github.com/byCedric/swaglint), [yamllint](https://yamllint.readthedocs.io/) |
 | 
				
			||||||
 | 
				
			|||||||
@ -45,7 +45,7 @@ let s:default_registry = {
 | 
				
			|||||||
\   },
 | 
					\   },
 | 
				
			||||||
\   'prettier': {
 | 
					\   'prettier': {
 | 
				
			||||||
\       'function': 'ale#fixers#prettier#Fix',
 | 
					\       'function': 'ale#fixers#prettier#Fix',
 | 
				
			||||||
\       'suggested_filetypes': ['javascript', 'typescript', 'json', 'css', 'scss', 'less', 'markdown', 'graphql'],
 | 
					\       'suggested_filetypes': ['javascript', 'typescript', 'json', 'css', 'scss', 'less', 'markdown', 'graphql', 'vue'],
 | 
				
			||||||
\       'description': 'Apply prettier to a file.',
 | 
					\       'description': 'Apply prettier to a file.',
 | 
				
			||||||
\   },
 | 
					\   },
 | 
				
			||||||
\   'prettier_eslint': {
 | 
					\   'prettier_eslint': {
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								doc/ale-vue.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								doc/ale-vue.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					===============================================================================
 | 
				
			||||||
 | 
					ALE Vue Integration                                           *ale-vue-options*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					===============================================================================
 | 
				
			||||||
 | 
					prettier                                                     *ale-vue-prettier*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					See |ale-javascript-prettier| for information about the available options.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					===============================================================================
 | 
				
			||||||
 | 
					  vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
 | 
				
			||||||
@ -239,6 +239,8 @@ CONTENTS                                                         *ale-contents*
 | 
				
			|||||||
      vint................................|ale-vim-vint|
 | 
					      vint................................|ale-vim-vint|
 | 
				
			||||||
    vim help..............................|ale-vim-help-options|
 | 
					    vim help..............................|ale-vim-help-options|
 | 
				
			||||||
      write-good..........................|ale-vim-help-write-good|
 | 
					      write-good..........................|ale-vim-help-write-good|
 | 
				
			||||||
 | 
					    vue...................................|ale-vue-options|
 | 
				
			||||||
 | 
					      prettier............................|ale-vue-prettier|
 | 
				
			||||||
    xhtml.................................|ale-xhtml-options|
 | 
					    xhtml.................................|ale-xhtml-options|
 | 
				
			||||||
      write-good..........................|ale-xhtml-write-good|
 | 
					      write-good..........................|ale-xhtml-write-good|
 | 
				
			||||||
    xml...................................|ale-xml-options|
 | 
					    xml...................................|ale-xml-options|
 | 
				
			||||||
@ -375,6 +377,7 @@ Notes:
 | 
				
			|||||||
* Verilog: `iverilog`, `verilator`
 | 
					* Verilog: `iverilog`, `verilator`
 | 
				
			||||||
* Vim: `vint`
 | 
					* Vim: `vint`
 | 
				
			||||||
* Vim help^: `alex`!!, `proselint`, `write-good`
 | 
					* Vim help^: `alex`!!, `proselint`, `write-good`
 | 
				
			||||||
 | 
					* Vue: `prettier`
 | 
				
			||||||
* XHTML: `alex`!!, `proselint`, `write-good`
 | 
					* XHTML: `alex`!!, `proselint`, `write-good`
 | 
				
			||||||
* XML: `xmllint`
 | 
					* XML: `xmllint`
 | 
				
			||||||
* YAML: `swaglint`, `yamllint`
 | 
					* YAML: `swaglint`, `yamllint`
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user