Skip to content

Commit

Permalink
Merge pull request #307 from embroider-build/upgrade-typescript-eslint
Browse files Browse the repository at this point in the history
Upgrade @typescript-eslint/*
  • Loading branch information
mansona authored Nov 11, 2024
2 parents c476b77 + 2aa333f commit f6539b1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
11 changes: 5 additions & 6 deletions files/__addonLocation__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,16 @@
"@types/ember__template": "^4.0.7",
"@types/ember__test": "^4.0.6",
"@types/ember__utils": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",<% } %>
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",<% } %>
"@rollup/plugin-babel": "^6.0.4",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^9.0.1",
"ember-source": "^5.4.0",
"ember-template-lint": "^6.0.0",<% if (packageManager === 'npm') { %>
"ember-eslint-parser": "^0.4.2",
<% } %>"eslint": "^8.56.0",
"ember-template-lint": "^6.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^12.2.1",
"eslint-plugin-ember": "^12.3.1",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-prettier": "^5.2.1",
Expand Down
9 changes: 4 additions & 5 deletions files/__addonLocation__/src/template-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

// import type MyComponent from './components/my-component';

// Remove this once entries have been added! 👇
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export default interface Registry {
// MyComponent: typeof MyComponent
}
// Uncomment this once entries have been added! 👇
// export default interface Registry {
// MyComponent: typeof MyComponent
// }
16 changes: 8 additions & 8 deletions files/__addonLocation__/unpublished-development-types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';

declare module '@glint/environment-ember-loose/registry' {
// Remove this once entries have been added! 👇
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export default interface Registry {
// Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates)
// See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons
}
}
// Uncomment if you need to support consuming projects in loose mode
//
// declare module '@glint/environment-ember-loose/registry' {
// export default interface Registry {
// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates)
// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons
// }
// }

0 comments on commit f6539b1

Please sign in to comment.