-
Notifications
You must be signed in to change notification settings - Fork 7
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
GJS: Add tests to ensure flat-configs work with the parser #41
Conversation
Run & review this pull request in StackBlitz Codeflow. |
9bf9fbd
to
06b5799
Compare
}, | ||
{ | ||
files: ['**/*.gjs'], | ||
languageOptions: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gjs needs the same parser config like *.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's normally not a problem since a config file is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O guess we should document it. That internally babel parser is used. Or should we just add some default plugins?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should document it, and then let eslint-plugin-ember decide if some utilities or defaults would be helpful to configure
Thanks for fixing wy pr! I'm going to setup a gts version, too |
Some debugging / exploration of flat configs to try to debug: ember-cli/eslint-plugin-ember#2061