summaryrefslogtreecommitdiff
path: root/custom-checks
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-07-05 15:51:31 +0100
committerw0rp <devw0rp@gmail.com>2017-07-05 15:51:31 +0100
commit1bd9b0fbe2b43dfa6716fcbf4cee5dfa4f6b9f1c (patch)
tree35b4c5d90d79f41036a88f35be72d4688ee925dc /custom-checks
parenta04e73ddbcbc2371424644145941f3878f894de8 (diff)
downloadale-1bd9b0fbe2b43dfa6716fcbf4cee5dfa4f6b9f1c.zip
#729 - Use a wrapper for simplify to fix // problems on Windows
Diffstat (limited to 'custom-checks')
-rwxr-xr-xcustom-checks1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom-checks b/custom-checks
index 6145478b..3bb60cda 100755
--- a/custom-checks
+++ b/custom-checks
@@ -78,6 +78,7 @@ check_errors $'\t' 'Use four spaces, not tabs'
# This check should prevent people from using a particular inconsistent name.
check_errors 'let g:ale_\w\+_\w\+_args =' 'Name your option g:ale_<filetype>_<lintername>_options instead'
check_errors 'shellescape(' 'Use ale#Escape instead of shellescape'
+check_errors 'simplify(' 'Use ale#path#Simplify instead of simplify'
check_errors "expand(['\"]%" "Use expand('#' . a:buffer . '...') instead. You might get a filename for the wrong buffer."
exit $RETURN_CODE