DEV: Update eslint config (#41)

This commit is contained in:
David Taylor 2024-11-19 14:37:33 +00:00 committed by GitHub
parent f2b51b4b22
commit b67ceac39d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 396 additions and 403 deletions

View File

@ -1 +0,0 @@
module.exports = require("@discourse/lint-configs/eslint-theme");

3
eslint.config.mjs Normal file
View File

@ -0,0 +1,3 @@
import DiscourseRecommendedTheme from "@discourse/lint-configs/eslint-theme";
export default [...DiscourseRecommendedTheme];

View File

@ -6,9 +6,9 @@ export default class UserCardStaticContents extends UserCardContents {
elementId = null;
// Overriding functions which cause the user card to show/hide based on mouse/keyboard events:
cleanUp() {}
// eslint-disable-next-line ember/require-super-in-lifecycle-hooks
didInsertElement() {}
// eslint-disable-next-line ember/require-super-in-lifecycle-hooks
willDestroyElement() {}
keyUp() {}

View File

@ -1,11 +1,10 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "1.4.2",
"@discourse/lint-configs": "2.0.1",
"ember-template-lint": "6.0.0",
"eslint": "8.57.1",
"prettier": "2.8.8",
"@babel/plugin-proposal-decorators": "^7.25.7"
"eslint": "9.14.0",
"prettier": "2.8.8"
},
"engines": {
"node": ">= 18",

File diff suppressed because it is too large Load Diff