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 love to keep all the config in one place.
I'm already using the glob: option, and I'd love to be able to set the cache_dir as well.
e.g.
Instead of running bundle exec erblint --lint-all --cache --cache-dir tmp/xxx
I'd love to be able to set the cache and cache-dir options in the .erb-lint.yml config file.
The text was updated successfully, but these errors were encountered:
I created a implementation for this in #351. My only concern with this is that currently the linter does not support running the cache with autocorrections, so if the option is set the users are not going to be able to autocorrect the linters because the cache option will not let them do it.
@domingo2000 That's awesome! Maybe just make it warn that cache is disabled when running with auto-correct?
i.e
"Cached disabled due to "autocorrect" option, will re-activate once no longer using "autocorrect" option."?
I'd love to keep all the config in one place.
I'm already using the
glob:
option, and I'd love to be able to set thecache_dir
as well.e.g.
Instead of running
bundle exec erblint --lint-all --cache --cache-dir tmp/xxx
I'd love to be able to set the
cache
andcache-dir
options in the.erb-lint.yml
config file.The text was updated successfully, but these errors were encountered: