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
.opal is an alternative extension for Opal. While it is possible to call opal files with .rb, it has side effects in Rails, so .opal is preferred in that situation.
As a workaround it is necessary to add this to .rubocop.yml:
AllCops:
Include:
- '**/*.opal'
Adding *.opal to default inclusions would make it work out of the box.
The text was updated successfully, but these errors were encountered:
.opal
is an alternative extension for Opal. While it is possible to call opal files with.rb
, it has side effects in Rails, so.opal
is preferred in that situation.As a workaround it is necessary to add this to
.rubocop.yml
:Adding
*.opal
to default inclusions would make it work out of the box.The text was updated successfully, but these errors were encountered: