app/models/csv_organisation.rb
Rename is_organisation_removed?
to organisation_removed?
. (https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark) Open
Open
def is_organisation_removed?
- Read upRead up
- Exclude checks
This cop makes sure that predicates are named properly.
Example:
# bad
def is_even?(value)
end
# good
def even?(value)
end
# bad
def has_value?
end
# good
def value?
end
Line is too long. [95/90] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
raise CSV::MalformedCSVError, "No expected column with name #{column_name} in CSV file"
- Exclude checks