Skip to content

Commit

Permalink
fix: tweak isnothing msg
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Sep 25, 2023
1 parent 4966fab commit 74ec406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linting/checks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 `isnothing`",
NothingNotEq => "Compare against `nothing` using `!isnothing`",
NothingEquality => "Compare against `nothing` using `isnothing` or `===`",
NothingNotEq => "Compare against `nothing` using `!isnothing` or `!==`",
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.",
Expand Down

0 comments on commit 74ec406

Please sign in to comment.