Skip to content

How to pass rubocop -d to ERB Lint like it asks? #418

@joshuapinter

Description

@joshuapinter

I'm seeing the following error when running ERB Lint:

Linting 1 files with 10 linters...
An error occurred while Style/SafeNavigation cop was inspecting /.../file.html.erb:1:10.
To see the complete backtrace run rubocop -d.

No errors were found in ERB files
  1. How do I get erb_lint to run rubocop -d to find out what's causing the error?
  2. ERB Lint is still passing even though it's running into this error - should it not fail if it encounters an error like this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions