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
While a particular one is not so critical, I'd err on the side of being stricter than looser.
The files included by the generator should pass some lint configuration, and supposing they change in the future, the linter should be run as part of CI.
Is there an eslint configuration that should pass for the generated files?
I'd recommend this one solely because it's so widely used and well supported:
https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb
While a particular one is not so critical, I'd err on the side of being stricter than looser.
The files included by the generator should pass some lint configuration, and supposing they change in the future, the linter should be run as part of CI.
For example, this would be file to check. https://github.com/rails/webpacker/blob/master/lib/install/config/development.js
This project could have a package.json with standard tasks such as 'lint' and that can be run by CI.
If deemed useful, I could create a PR.
The text was updated successfully, but these errors were encountered: