codeclimate/codeclimate-coffeelint

View on GitHub

Showing 1 of 1 total issue

Use meaningful heredoc delimiters.
Open

                   EOS
Severity: Minor
Found in lib/cc/engine/analyzable_files.rb by rubocop

This cop checks that your heredocs are using meaningful delimiters. By default it disallows END and EO*, and can be configured through forbidden listing additional delimiters.

Example:

# good
<<-SQL
  SELECT * FROM foo
SQL

# bad
<<-END
  SELECT * FROM foo
END

# bad
<<-EOS
  SELECT * FROM foo
EOS
Severity
Category
Status
Source
Language