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

Fix flat config for gts/gjs and noop parser name #2092

Merged
merged 1 commit into from Feb 15, 2024

Conversation

bmish
Copy link
Member

@bmish bmish commented Feb 14, 2024

Fixes #2061.

Fixes two issues:

@Techn1x @patricklx @NullVoxPopuli

@bmish bmish added the Bug label Feb 14, 2024
lib/index.js Outdated
@@ -16,6 +16,6 @@ module.exports = {
},
processors: {
// https://eslint.org/docs/developer-guide/working-with-plugins#file-extension-named-processor
'<noop>': noop,
'noop': noop,
Copy link
Member Author

@bmish bmish Feb 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NullVoxPopuli @patricklx do we need to export this processor as part of our public API? Is it useful for anyone to import individually from here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought it's necessary for eslint to find it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. I'll leave it for now with the new name. Hopefully this new name makes sense.

@bmish bmish merged commit eeffaa8 into ember-cli:master Feb 15, 2024
8 checks passed
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.

new "flat" configs contain invalid parser key
3 participants