diff options
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 |