diff --git a/src/linting/checks.jl b/src/linting/checks.jl index 790db90e..97243cab 100644 --- a/src/linting/checks.jl +++ b/src/linting/checks.jl @@ -38,8 +38,8 @@ const LintCodeDescriptions = Dict{LintCodes,String}( IncorrectCallArgs => "Possible method call error.", IncorrectIterSpec => "A loop iterator has been used that will likely error.", - NothingEquality => "Compare against `nothing` using `===`", - NothingNotEq => "Compare against `nothing` using `!==`", + NothingEquality => "Compare against `nothing` using `isnothing`", + NothingNotEq => "Compare against `nothing` using `!isnothing`", ConstIfCondition => "A boolean literal has been used as the conditional of an if statement - it will either always or never run.", EqInIfConditional => "Unbracketed assignment in if conditional statements is not allowed, did you mean to use ==?", PointlessOR => "The first argument of a `||` call is a boolean literal.",