chore: make linter silent on things which are intentionally done #1149
Crystal Ameba Results
Total files checked: 117
Issues found: 16
Ameba Version: 1.4.3
Crystal Version: 1.7.0
Annotations
Check notice on line 57 in spec/helper.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'encrypted?' over 'is_encrypted?'
Raw output
> def is_encrypted?(string : String)
^
Check notice on line 217 in src/placeos-models/user.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'admin?' over 'is_admin?'
Raw output
> def is_admin?
^
Check notice on line 221 in src/placeos-models/user.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'support?' over 'is_support?'
Raw output
> def is_support?
^
Check notice on line 315 in src/placeos-models/settings.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'encrypted?' over 'is_encrypted?'
Raw output
> def is_encrypted? : Bool
^
Check notice on line 251 in src/placeos-models/tenant.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'encrypted?' over 'is_encrypted?'
Raw output
> def is_encrypted? : Bool
^
Check notice on line 40 in src/placeos-models/user_jwt.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'admin?' over 'is_admin?'
Raw output
> def is_admin?
^
Check notice on line 44 in src/placeos-models/user_jwt.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'support?' over 'is_support?'
Raw output
> def is_support?
^
Check notice on line 98 in src/placeos-models/utilities/encryption.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'encrypted?' over 'is_encrypted?'
Raw output
> def self.is_encrypted?(string : String)
^
Check notice on line 410 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'reserved?' over 'is_reserved?'
Raw output
> protected def is_reserved?(current_time : Int64 = Time.local.to_unix)
^
Check notice on line 419 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'checked_in?' over 'is_checked_in?'
Raw output
> protected def is_checked_in?(current_time : Int64 = Time.local.to_unix)
^
Check notice on line 425 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'checked_out?' over 'is_checked_out?'
Raw output
> protected def is_checked_out?
^
Check notice on line 435 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'no_show?' over 'is_no_show?'
Raw output
> protected def is_no_show?(current_time : Int64 = Time.local.to_unix)
^
Check notice on line 441 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'rejected?' over 'is_rejected?'
Raw output
> protected def is_rejected?
^
Check notice on line 449 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'cancelled?' over 'is_cancelled?'
Raw output
> protected def is_cancelled?
^
Check notice on line 456 in src/placeos-models/booking.cr
github-actions / Ameba
Style/PredicateName
Favour method name 'ended?' over 'is_ended?'
Raw output
> protected def is_ended?(current_time : Int64 = Time.local.to_unix)
^
Check notice on line 93 in src/placeos-models/booking.cr
github-actions / Ameba
Style/QueryBoolMethods
Consider using 'property?' for 'render_event'
Raw output
> property render_event : Bool = true
^