> Is `--fix` of any help here, have you tried this out already?
We run eslint via `bundle exec rails eslint`, and that doesn't support the
`--fix` option. Our configuration doesn't support running eslint directly,
since we [use ruby code in the
configuration](https://github.com/openstreetmap/openstreetmap-website/blob/master/config/initializers/eslint.rb).
I'd like to get it running directly at some point, to improve integration
between eslint and IDEs, which are more likely to support eslint directly than
via rails tasks. Maybe there's also a way to get the `--fix` working via rails.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5549#issuecomment-2612872656
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5549/c2612872...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev