recipes/settings.rb
Line is too long. [91/80] Open
Open
node['jenkins-server']['settings']['global_properties']['env_vars'].each do |name, value|
- Exclude checks
Use meaningful heredoc delimiters. Open
Open
EOH
- Read upRead up
- Exclude checks
This cop checks that your heredocs are using meaningful delimiters.
By default it disallows END
and EO*
, and can be configured through
blacklisting additional delimiters.
Example:
# good
<<-SQL
SELECT * FROM foo
SQL
# bad
<<-END
SELECT * FROM foo
END
# bad
<<-EOS
SELECT * FROM foo
EOS