diff options
author | w0rp <devw0rp@gmail.com> | 2021-06-19 12:01:33 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-06-19 12:01:33 +0100 |
commit | a566a5d01b210da7e37a08dabebedb20281abf87 (patch) | |
tree | 0eed43dd011afb03d3db9914dd8c4526d8c25d12 /test/script | |
parent | ad27e921d71c5264382512dae7fce5292491e05f (diff) | |
download | ale-a566a5d01b210da7e37a08dabebedb20281abf87.zip |
#3719 - Prevent redir being used again in future
Diffstat (limited to 'test/script')
-rwxr-xr-x | test/script/custom-linting-rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/script/custom-linting-rules b/test/script/custom-linting-rules index 69ab3cc8..12dec4c1 100755 --- a/test/script/custom-linting-rules +++ b/test/script/custom-linting-rules @@ -126,6 +126,7 @@ check_errors '==?' "Use 'is?' instead of '==?'. 0 ==? 'foobar' is true" check_errors '!=#' "Use 'isnot#' instead of '!=#'. 0 !=# 'foobar' is false" check_errors '!=?' "Use 'isnot?' instead of '!=?'. 0 !=? 'foobar' is false" check_errors '^ *:\?echo' "Stray echo line. Use \`execute echo\` if you want to echo something" +check_errors '^ *:\?redir' 'User execute() instead of redir' # Exclusions for grandfathered-in exceptions exclusions="clojure/clj_kondo.vim elixir/elixir_ls.vim go/golangci_lint.vim swift/swiftformat.vim" # shellcheck disable=SC2086 |