Skip to content

Commit dca5c6c

Browse files
authored
Update eslint-plugin-ember (#1118)
In addon package Also bumped a few typescript-eslint packages to bring them into support of the current TS version
1 parent eb9c488 commit dca5c6c

File tree

4 files changed

+1854
-644
lines changed

4 files changed

+1854
-644
lines changed

ember-file-upload/.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module.exports = {
2626
],
2727
rules: {
2828
// Add any custom rules here
29+
'ember/no-runloop': 'off',
2930
},
3031
},
3132
// node files

ember-file-upload/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@
7171
"@rollup/plugin-babel": "^6.0.3",
7272
"@tsconfig/ember": "^3.0.0",
7373
"@types/rsvp": "^4.0.4",
74-
"@typescript-eslint/eslint-plugin": "^6.0.0",
75-
"@typescript-eslint/parser": "^6.0.0",
74+
"@typescript-eslint/eslint-plugin": "^8.40.0",
75+
"@typescript-eslint/parser": "^8.40.0",
7676
"concurrently": "^9.0.0",
7777
"ember-cli-htmlbars": "^6.1.1",
7878
"ember-modifier": "^3.2.7",
7979
"ember-source": "~6.4.0",
8080
"ember-template-lint": "^5.0.0",
8181
"eslint": "^8.42.0",
8282
"eslint-config-prettier": "^9.0.0",
83-
"eslint-plugin-ember": "^11.0.0",
83+
"eslint-plugin-ember": "^12.7.0",
8484
"eslint-plugin-n": "^14.0.0",
8585
"eslint-plugin-prettier": "^5.0.0",
8686
"prettier": "^3.0.3",

ember-file-upload/src/system/data-transfer-wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class DataTransferWrapper {
2626
// @ts-ignore
2727
getDataSupport[type] = true;
2828
return data;
29-
} catch (e) {
29+
} catch {
3030
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
3131
// @ts-ignore
3232
getDataSupport[type] = false;

0 commit comments

Comments
 (0)