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
I'd like to have a single command that will both run all of the enabled linters configured in my .erb-lint.ymland autocorrect the linters that support autocorrect.
Currently it seems like using the --autocorrect flag filters down the linters to only run linters that are autocorrectable and non-correctable linters do not run.
I tried some workarounds, for example, running --autocorrect --enable-all-linters will run all the linters, but won't respect the linters I've disabled in my .erb-lint.yml file.
Ideally, I would like the --autocorrect flag to only trigger autocorrection, and otherwise respect the configuration I have within my .erb-lint.yml for enabled/disabled cops.
The text was updated successfully, but these errors were encountered:
I'd like to have a single command that will both run all of the enabled linters configured in my
.erb-lint.yml
and autocorrect the linters that support autocorrect.Currently it seems like using the
--autocorrect
flag filters down the linters to only run linters that are autocorrectable and non-correctable linters do not run.I tried some workarounds, for example, running
--autocorrect --enable-all-linters
will run all the linters, but won't respect the linters I've disabled in my.erb-lint.yml
file.Ideally, I would like the
--autocorrect
flag to only trigger autocorrection, and otherwise respect the configuration I have within my.erb-lint.yml
for enabled/disabled cops.The text was updated successfully, but these errors were encountered: