summaryrefslogtreecommitdiff
path: root/ale_linters/perl
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-11 00:31:42 +0100
committerw0rp <devw0rp@gmail.com>2017-08-11 00:31:42 +0100
commitd5ae3201a4128c9e7b1042e9ea40b7f13cf72a10 (patch)
tree86ca55a467b86555aaed7e83e0094a5def357bd1 /ale_linters/perl
parentb1462ac66c10ed323c5148ecd8821c3a433ff403 (diff)
downloadale-d5ae3201a4128c9e7b1042e9ea40b7f13cf72a10.zip
Ban !=# and !=? from the codebase
Diffstat (limited to 'ale_linters/perl')
-rw-r--r--ale_linters/perl/perl.vim2
-rw-r--r--ale_linters/perl/perlcritic.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim
index 087d03eb..33288061 100644
--- a/ale_linters/perl/perl.vim
+++ b/ale_linters/perl/perl.vim
@@ -34,7 +34,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort
if ale#path#IsBufferPath(a:buffer, l:match[2])
\ && (
- \ l:text !=# 'BEGIN failed--compilation aborted'
+ \ l:text isnot# 'BEGIN failed--compilation aborted'
\ || empty(l:output)
\ || match(l:output[-1].text, s:begin_failed_skip_pattern) < 0
\ )
diff --git a/ale_linters/perl/perlcritic.vim b/ale_linters/perl/perlcritic.vim
index 6f23048d..df2f8b23 100644
--- a/ale_linters/perl/perlcritic.vim
+++ b/ale_linters/perl/perlcritic.vim
@@ -41,10 +41,10 @@ function! ale_linters#perl#perlcritic#GetCommand(buffer) abort
let l:command = ale#Escape(ale_linters#perl#perlcritic#GetExecutable(a:buffer))
\ . " --verbose '". l:critic_verbosity . "' --nocolor"
- if l:profile !=? ''
+ if l:profile isnot? ''
let l:command .= ' --profile ' . ale#Escape(l:profile)
endif
- if l:options !=? ''
+ if l:options isnot? ''
let l:command .= ' ' . l:options
endif