You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuboCop should complain with Layout/LineLength: Line is too long. [127/120].
Actual behavior
RuboCop doesn't complain. But if I set ParserEngine: parser_prism, then it correctly reports the issue.
RuboCop version
Include the output of rubocop -V or bundle exec rubocop -V if using Bundler.
If you see extension cop versions (e.g. rubocop-performance, rubocop-rspec, and others)
output by rubocop -V, include them as well. Here's an example:
Expected behavior
Given this code, and max line length set to 120:
RuboCop should complain with
Layout/LineLength: Line is too long. [127/120]
.Actual behavior
RuboCop doesn't complain. But if I set
ParserEngine: parser_prism
, then it correctly reports the issue.RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler.If you see extension cop versions (e.g.
rubocop-performance
,rubocop-rspec
, and others)output by
rubocop -V
, include them as well. Here's an example:The text was updated successfully, but these errors were encountered: