Skip to content

Commit 1db294e

Browse files
authored
Merge pull request #307 from embroider-build/upgrade-typescript-eslint
Upgrade @typescript-eslint/*
2 parents 1d0c7f3 + fc3b7c1 commit 1db294e

3 files changed

Lines changed: 17 additions & 19 deletions

File tree

files/__addonLocation__/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,16 @@
7070
"@types/ember__template": "^4.0.7",
7171
"@types/ember__test": "^4.0.6",
7272
"@types/ember__utils": "^4.0.7",
73-
"@typescript-eslint/eslint-plugin": "^7.7.1",
74-
"@typescript-eslint/parser": "^7.7.1",<% } %>
73+
"@typescript-eslint/eslint-plugin": "^8.13.0",
74+
"@typescript-eslint/parser": "^8.13.0",<% } %>
7575
"@rollup/plugin-babel": "^6.0.4",
7676
"babel-plugin-ember-template-compilation": "^2.2.5",
7777
"concurrently": "^9.0.1",
7878
"ember-source": "^5.4.0",
79-
"ember-template-lint": "^6.0.0",<% if (packageManager === 'npm') { %>
80-
"ember-eslint-parser": "^0.4.2",
81-
<% } %>"eslint": "^8.56.0",
79+
"ember-template-lint": "^6.0.0",
80+
"eslint": "^8.56.0",
8281
"eslint-config-prettier": "^9.1.0",
83-
"eslint-plugin-ember": "^12.2.1",
82+
"eslint-plugin-ember": "^12.3.1",
8483
"eslint-plugin-import": "^2.30.0",
8584
"eslint-plugin-n": "^17.10.3",
8685
"eslint-plugin-prettier": "^5.2.1",

files/__addonLocation__/src/template-registry.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

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

7-
// Remove this once entries have been added! 👇
8-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
9-
export default interface Registry {
10-
// MyComponent: typeof MyComponent
11-
}
7+
// Uncomment this once entries have been added! 👇
8+
// export default interface Registry {
9+
// MyComponent: typeof MyComponent
10+
// }

files/__addonLocation__/unpublished-development-types/index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import '@glint/environment-ember-loose';
55
import '@glint/environment-ember-template-imports';
66

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

0 commit comments

Comments
 (0)