summaryrefslogtreecommitdiff
path: root/doc/ale-typescript.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-06 11:17:21 +0100
committerw0rp <devw0rp@gmail.com>2017-09-06 11:17:21 +0100
commitc277cdef8cb24512583093d7a9b7d68a14e6d82b (patch)
treea60c7b9c08f1e1249ab45c90ef21c896e99d7ffc /doc/ale-typescript.txt
parentad1bd424fa33a60fd437ff1488f5bcd925a0be10 (diff)
downloadale-c277cdef8cb24512583093d7a9b7d68a14e6d82b.zip
Add an option for ignoring the output of TSLint if a file contains a single blank line
Diffstat (limited to 'doc/ale-typescript.txt')
-rw-r--r--doc/ale-typescript.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ale-typescript.txt b/doc/ale-typescript.txt
index 794240ec..949b80de 100644
--- a/doc/ale-typescript.txt
+++ b/doc/ale-typescript.txt
@@ -30,6 +30,18 @@ g:ale_typescript_tslint_config_path *g:ale_typescript_tslint_config_path*
such path exists, this variable will be used instead.
+g:ale_typescript_tslint_ignore_empty_files
+ *g:ale_typescript_tslint_ignore_empty_files*
+ *b:ale_typescript_tslint_ignore_empty_files*
+ Type: |Number|
+ Default: `0`
+
+ When set to `1`, ALE will not report any problems for empty files with
+ TSLint. ALE will still execute TSLint for the files, but ignore any problems
+ reported. This stops ALE from complaining about newly created files,
+ and files where lines have been added and then removed.
+
+
g:ale_typescript_tslint_rules_dir *g:ale_typescript_tslint_rules_dir*
*b:ale_typescript_tslint_rules_dir*
Type: |String|