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

GJS: Add tests to ensure flat-configs work with the parser #41

Merged
merged 5 commits into from
Feb 5, 2024

Conversation

NullVoxPopuli
Copy link
Member

@NullVoxPopuli NullVoxPopuli commented Jan 30, 2024

Some debugging / exploration of flat configs to try to debug: ember-cli/eslint-plugin-ember#2061

Copy link

stackblitz bot commented Jan 30, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

},
{
files: ['**/*.gjs'],
languageOptions: {
Copy link
Collaborator

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

Copy link
Collaborator

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

Copy link
Collaborator

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?

Copy link
Member Author

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

@NullVoxPopuli
Copy link
Member Author

Thanks for fixing wy pr! I'm going to setup a gts version, too

@NullVoxPopuli NullVoxPopuli changed the title Add tests to ensure flat-configs work with the parser GJS: Add tests to ensure flat-configs work with the parser Feb 5, 2024
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review February 5, 2024 19:05
@NullVoxPopuli NullVoxPopuli merged commit a5605d3 into main Feb 5, 2024
5 checks passed
@NullVoxPopuli NullVoxPopuli deleted the flat-config branch February 5, 2024 19:05
@github-actions github-actions bot mentioned this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants