-
-
Notifications
You must be signed in to change notification settings - Fork 8
Update generated ESLint config #110
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
Update generated ESLint config #110
Conversation
| }, | ||
| ]; | ||
| <% if (typescript) { %> | ||
| export default ts.config(...config);<% } else { %> |
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.
ts.config is deprecated in favor of defineConfig. I've verified locally, that the exact same configs are printed before and after.
| <% } %> | ||
| const config = [ | ||
| export default defineConfig([ | ||
| globalIgnores(['dist/', 'dist-*/', 'declarations/', 'coverage/', '!**/.*']), |
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.
node_modules are ignored by default, so not included here anymore.
a175991 to
73a7bee
Compare
| languageOptions: { | ||
| parser: ember.parser, | ||
| parserOptions: tsParserOptions, | ||
| globals: { |
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.
Was missing here it seems, not sure why this wasn't an issue before.
This was the cause of the failing jobs in https://github.com/ember-cli/ember-addon-blueprint/actions/runs/19166271947
| { | ||
| files: [ | ||
| '**/*.cjs', | ||
| '.prettierrc.cjs', |
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.
Removed these 3 because of **/*.cjs.
No description provided.