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
Hey!
I've met a strange bug. When I run erb-lint from my pre-commit hook with
bundle exec erblint --lint-all --autocorrect
I see following errors
EXECUTE > erb-lint
Linting 70 files with 13 linters...
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:18
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:95
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:133
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:137
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:151
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:219
No space detected where there should be a single space.
In file: app/views/layouts/_application_header.html.erb:238
7 error(s) were found in ERB files
but when I run
bundle exec erblint --lint-all --autocorrect
from console, I see
❯ bundle exec erblint --lint-all --autocorrect
Linting and autocorrecting 70 files with 13 linters (10 autocorrectable)...
No errors were found in ERB files
Hey!
I've met a strange bug. When I run erb-lint from my pre-commit hook with
I see following errors
but when I run
from console, I see
There are one of problematic lines
and I have no idea what's wrong with this line
Tasks
The text was updated successfully, but these errors were encountered: