lib/grease/version.rb
Final newline missing. Open
Open
end
- Exclude checks
Freeze mutable objects assigned to constants. Open
Open
VERSION = '0.0.1'
- Read upRead up
- Exclude checks
This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).
Example:
# bad
CONST = [1, 2, 3]
# good
CONST = [1, 2, 3].freeze
Expected a newline at the end of the file. Open
Open
end
- Exclude checks