All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 ===============================================================================
2 ALE TypeScript Integration *ale-typescript-options*
5 ===============================================================================
6 biome *ale-typescript-biome*
8 *ale-options.biome_executable*
9 *g:ale_biome_executable*
10 *b:ale_biome_executable*
12 g:ale_biome_executable
16 *ale-options.biome_options*
24 This variable can be set to pass additional options to `biome check` when
27 *ale-options.biome_use_global*
28 *g:ale_biome_use_global*
29 *b:ale_biome_use_global*
31 g:ale_biome_use_global
33 Default: `get(g:, 'ale_use_global_executables', 0)`
35 See |ale-integrations-local-executables|
37 *ale-options.biome_fixer_apply_unsafe*
38 *g:ale_biome_fixer_apply_unsafe*
39 *b:ale_biome_fixer_apply_unsafe*
40 biome_fixer_apply_unsafe
41 g:ale_biome_fixer_apply_unsafe
45 If set to `1`, biome will apply unsafe fixes along with safe fixes.
47 *ale-options.biome_lsp_project_root*
48 *g:ale_biome_lsp_project_root*
49 *b:ale_biome_lsp_project_root*
50 biome_lsp_project_root
51 g:ale_biome_lsp_project_root
55 If this variable is left unset, ALE will try to find the project root by
56 executing the following steps in the given order:
58 1. Find an ancestor directory containing a biome.json.
59 2. Find an ancestor directory containing a biome.jsonc.
60 3. Find an ancestor directory containing a package.json.
61 4. Find an ancestor directory containing a .git folder.
62 5. Use the directory of the current buffer (if the buffer was opened from
66 ===============================================================================
67 cspell *ale-typescript-cspell*
69 See |ale-cspell-options|
72 ===============================================================================
73 deno *ale-typescript-deno*
75 Starting from version 1.6.0, Deno comes with its own language server. Earlier
76 versions are not supported.
79 -------------------------------------------------------------------------------
81 *ale-options.deno_executable*
82 *g:ale_deno_executable*
83 *b:ale_deno_executable*
89 *ale-options.deno_lsp_project_root*
90 *g:ale_deno_lsp_project_root*
91 *b:ale_deno_lsp_project_root*
93 g:ale_deno_lsp_project_root
97 If this variable is left unset, ALE will try to find the project root by
98 executing the following steps in the given order:
100 1. Find an ancestor directory containing a tsconfig.json.
101 2. Find an ancestor directory containing a .git folder.
102 3. Use the directory of the current buffer (if the buffer was opened from
105 *ale-options.deno_unstable*
106 *g:ale_deno_unstable*
107 *b:ale_deno_unstable*
113 Enable or disable unstable Deno features and APIs.
115 *ale-options.deno_import_map*
116 *g:ale_deno_import_map*
117 *b:ale_deno_import_map*
119 g:ale_deno_import_map
121 Default: `'import_map.json'`
123 Specify the import map filename to load url maps in a deno project.
126 ===============================================================================
127 dprint *ale-typescript-dprint*
129 See |ale-dprint-options| and https://dprint.dev/plugins/typescript
132 ===============================================================================
133 eslint *ale-typescript-eslint*
135 Because of how TypeScript compiles code to JavaScript and how interrelated
136 the two languages are, the `eslint` linter for TypeScript uses the JavaScript
137 options for `eslint` too. See: |ale-javascript-eslint|.
140 ===============================================================================
141 prettier *ale-typescript-prettier*
143 See |ale-javascript-prettier| for information about the available options.
146 ===============================================================================
147 standard *ale-typescript-standard*
149 *ale-options.typescript_standard_executable*
150 *g:ale_typescript_standard_executable*
151 *b:ale_typescript_standard_executable*
152 typescript_standard_executable
153 g:ale_typescript_standard_executable
155 Default: `'standard'`
157 See |ale-integrations-local-executables|
159 *ale-options.typescript_standard_options*
160 *g:ale_typescript_standard_options*
161 *b:ale_typescript_standard_options*
162 typescript_standard_options
163 g:ale_typescript_standard_options
167 This variable can be set to pass additional options to standard.
169 *ale-options.typescript_standard_use_global*
170 *g:ale_typescript_standard_use_global*
171 *b:ale_typescript_standard_use_global*
172 typescript_standard_use_global
173 g:ale_typescript_standard_use_global
175 Default: `get(g:, 'ale_use_global_executables', 0)`
177 See |ale-integrations-local-executables|
180 ===============================================================================
181 tslint *ale-typescript-tslint*
183 This linter isn't recommended, because TSLint can't be used for checking for
184 problems while you type. You should probably use the tsserver plugin instead.
185 tsserver plugins are described here:
186 https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin
188 Follow the instructions on the plugin website for installing it:
189 https://github.com/Microsoft/typescript-tslint-plugin
191 Then disable TSLint in your typescript ftplugin file. >
192 let b:ale_linters_ignore = ['tslint']
195 require("ale").setup.buffer({linters_ignore={"tslint"}})
198 -------------------------------------------------------------------------------
200 *ale-options.typescript_tslint_executable*
201 *g:ale_typescript_tslint_executable*
202 *b:ale_typescript_tslint_executable*
203 typescript_tslint_executable
204 g:ale_typescript_tslint_executable
208 See |ale-integrations-local-executables|
210 *ale-options.typescript_tslint_config_path*
211 *g:ale_typescript_tslint_config_path*
212 *b:ale_typescript_tslint_config_path*
213 typescript_tslint_config_path
214 g:ale_typescript_tslint_config_path
218 ALE will first discover the tslint.json path in an ancestor directory. If no
219 such path exists, this variable will be used instead.
221 *ale-options.typescript_tslint_ignore_empty_files*
222 *g:ale_typescript_tslint_ignore_empty_files*
223 *b:ale_typescript_tslint_ignore_empty_files*
224 typescript_tslint_ignore_empty_files
225 g:ale_typescript_tslint_ignore_empty_files
229 When set to `1`, ALE will not report any problems for empty files with
230 TSLint. ALE will still execute TSLint for the files, but ignore any problems
231 reported. This stops ALE from complaining about newly created files,
232 and files where lines have been added and then removed.
234 *ale-options.typescript_tslint_rules_dir*
235 *g:ale_typescript_tslint_rules_dir*
236 *b:ale_typescript_tslint_rules_dir*
237 typescript_tslint_rules_dir
238 g:ale_typescript_tslint_rules_dir
242 If this variable is set, ALE will use it as the rules directory for tslint.
244 *ale-options.typescript_tslint_use_global*
245 *g:ale_typescript_tslint_use_global*
246 *b:ale_typescript_tslint_use_global*
247 typescript_tslint_use_global
248 g:ale_typescript_tslint_use_global
250 Default: `get(g:, 'ale_use_global_executables', 0)`
252 See |ale-integrations-local-executables|
255 ===============================================================================
256 tsserver *ale-typescript-tsserver*
258 *ale-options.typescript_tsserver_executable*
259 *g:ale_typescript_tsserver_executable*
260 *b:ale_typescript_tsserver_executable*
261 typescript_tsserver_executable
262 g:ale_typescript_tsserver_executable
264 Default: `'tsserver'`
266 ALE will first discover the tsserver path in an ancestor node_modules
267 directory. If no such path exists, this variable will be used instead.
269 If you wish to use only a globally installed version of tsserver, set
270 |g:ale_typescript_tsserver_use_global| to `1`.
272 *ale-options.typescript_tsserver_config_path*
273 *g:ale_typescript_tsserver_config_path*
274 *b:ale_typescript_tsserver_config_path*
275 typescript_tsserver_config_path
276 g:ale_typescript_tsserver_config_path
280 ALE will first discover the tsserver.json path in an ancestor directory. If
281 no such path exists, this variable will be used instead.
283 *ale-options.typescript_tsserver_use_global*
284 *g:ale_typescript_tsserver_use_global*
285 *b:ale_typescript_tsserver_use_global*
286 typescript_tsserver_use_global
287 g:ale_typescript_tsserver_use_global
289 Default: `get(g:, 'ale_use_global_executables', 0)`
291 This variable controls whether or not ALE will search for a local path for
292 tsserver first. If this variable is set to `1`, then ALE will always use the
293 global version of tsserver, in preference to locally installed versions of
294 tsserver in node_modules.
297 ===============================================================================
298 xo *ale-typescript-xo*
300 *ale-options.typescript_xo_executable*
301 *g:ale_typescript_xo_executable*
302 *b:ale_typescript_xo_executable*
303 typescript_xo_executable
304 g:ale_typescript_xo_executable
308 See |ale-integrations-local-executables|
310 *ale-options.typescript_xo_options*
311 *g:ale_typescript_xo_options*
312 *b:ale_typescript_xo_options*
313 typescript_xo_options
314 g:ale_typescript_xo_options
318 This variable can be set to pass additional options to xo.
320 *ale-options.typescript_xo_use_global*
321 *g:ale_typescript_xo_use_global*
322 *b:ale_typescript_xo_use_global*
323 typescript_xo_use_global
324 g:ale_typescript_xo_use_global
326 Default: `get(g:, 'ale_use_global_executables', 0)`
328 See |ale-integrations-local-executables|
331 ===============================================================================
332 vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: