Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add *.opal to default inclusions #1396

Closed
lloeki opened this issue Oct 20, 2014 · 0 comments
Closed

Add *.opal to default inclusions #1396

lloeki opened this issue Oct 20, 2014 · 0 comments

Comments

@lloeki
Copy link
Contributor

lloeki commented Oct 20, 2014

.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant