mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 04:52:29 +08:00
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
This commit is contained in:
@@ -11,9 +11,9 @@ function! ale_linters#elixir#credo#Handle(buffer, lines) abort
|
||||
let l:type = l:match[3]
|
||||
let l:text = l:match[4]
|
||||
|
||||
if l:type ==# 'C'
|
||||
if l:type is# 'C'
|
||||
let l:type = 'E'
|
||||
elseif l:type ==# 'R'
|
||||
elseif l:type is# 'R'
|
||||
let l:type = 'W'
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user