mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
doc: Add documentation for Deno
This commit is contained in:
@@ -498,6 +498,7 @@ Notes:
|
|||||||
* `thrift`
|
* `thrift`
|
||||||
* TypeScript
|
* TypeScript
|
||||||
* `eslint`
|
* `eslint`
|
||||||
|
* `deno`
|
||||||
* `fecs`
|
* `fecs`
|
||||||
* `prettier`
|
* `prettier`
|
||||||
* `standard`
|
* `standard`
|
||||||
|
|||||||
@@ -10,6 +10,39 @@ the two languages are, the `eslint` linter for TypeScript uses the JavaScript
|
|||||||
options for `eslint` too. See: |ale-javascript-eslint|.
|
options for `eslint` too. See: |ale-javascript-eslint|.
|
||||||
|
|
||||||
|
|
||||||
|
===============================================================================
|
||||||
|
deno *ale-typescript-deno*
|
||||||
|
|
||||||
|
Starting from version 1.6.0, Deno comes with its own language server. Earlier
|
||||||
|
versions are not supported.
|
||||||
|
|
||||||
|
g:ale_deno_executable *g:ale_deno_executable*
|
||||||
|
*b:ale_deno_executable*
|
||||||
|
Type: |String|
|
||||||
|
Default: `'deno'`
|
||||||
|
|
||||||
|
|
||||||
|
g:ale_deno_lsp_project_root *g:ale_deno_lsp_project_root*
|
||||||
|
*b:ale_deno_lsp_project_root*
|
||||||
|
Type: |String|
|
||||||
|
Default: `''`
|
||||||
|
|
||||||
|
If this variable is left unset, ALE will try to find the project root by
|
||||||
|
executing the following steps in the given order:
|
||||||
|
|
||||||
|
1. Find an ancestor directory containing a tsconfig.json.
|
||||||
|
2. Find an ancestory irectory containing a .git folder.
|
||||||
|
3. Use the directory of the current buffer (if the buffer was opened from
|
||||||
|
a file).
|
||||||
|
|
||||||
|
g:ale_deno_unstable *g:ale_deno_unstable*
|
||||||
|
*b:ale_deno_unstable*
|
||||||
|
Type: |Number|
|
||||||
|
Default: `0`
|
||||||
|
|
||||||
|
Enable or disable unstable Deno features and APIs.
|
||||||
|
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
prettier *ale-typescript-prettier*
|
prettier *ale-typescript-prettier*
|
||||||
|
|
||||||
|
|||||||
@@ -507,6 +507,7 @@ formatting.
|
|||||||
* [thrift](http://thrift.apache.org/)
|
* [thrift](http://thrift.apache.org/)
|
||||||
* TypeScript
|
* TypeScript
|
||||||
* [eslint](http://eslint.org/)
|
* [eslint](http://eslint.org/)
|
||||||
|
* [deno](https://deno.land/)
|
||||||
* [fecs](http://fecs.baidu.com/)
|
* [fecs](http://fecs.baidu.com/)
|
||||||
* [prettier](https://github.com/prettier/prettier)
|
* [prettier](https://github.com/prettier/prettier)
|
||||||
* [standard](http://standardjs.com/)
|
* [standard](http://standardjs.com/)
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ Execute(Should use user-specified project root):
|
|||||||
\ 'unstable': v:false
|
\ 'unstable': v:false
|
||||||
\}
|
\}
|
||||||
|
|
||||||
|
|
||||||
Execute(Check Deno LSP command):
|
Execute(Check Deno LSP command):
|
||||||
AssertLinter 'deno', [
|
AssertLinter 'deno', [
|
||||||
\ ale#Escape('deno') . ' lsp',
|
\ ale#Escape('deno') . ' lsp',
|
||||||
|
|||||||
Reference in New Issue
Block a user