Skip to content

Conversation

@bertdeblock
Copy link
Member

No description provided.

@bertdeblock bertdeblock self-assigned this Nov 7, 2025
},
];
<% if (typescript) { %>
export default ts.config(...config);<% } else { %>
Copy link
Member Author

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/', '!**/.*']),
Copy link
Member Author

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.

@bertdeblock bertdeblock force-pushed the eslint-config-updates branch from a175991 to 73a7bee Compare November 7, 2025 11:13
languageOptions: {
parser: ember.parser,
parserOptions: tsParserOptions,
globals: {
Copy link
Member Author

@bertdeblock bertdeblock Nov 7, 2025

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',
Copy link
Member Author

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.

@NullVoxPopuli NullVoxPopuli added the enhancement New feature or request label Nov 7, 2025
@NullVoxPopuli NullVoxPopuli merged commit 64c4152 into ember-cli:main Nov 7, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants