Skip to content

Commit

Permalink
DEV: Update eslint config (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq authored Nov 19, 2024
1 parent 4747d70 commit 3bc1597
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 161 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Component from "@glimmer/component";
import { equal } from "@ember/object/computed";
import { inject as service } from "@ember/service";
import { service } from "@ember/service";
import { emojiUrlFor } from "discourse/lib/text";
import getURL from "discourse-common/lib/get-url";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { tracked } from "@glimmer/tracking";
import Controller, { inject as controller } from "@ember/controller";
import { action } from "@ember/object";
import { inject as service } from "@ember/service";
import { service } from "@ember/service";
import CustomReaction from "../models/discourse-reactions-custom-reaction";

export default class UserActivityReactions extends Controller {
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import DiscourseRecommended from "@discourse/lint-configs/eslint";

export default [...DiscourseRecommended];
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "1.3.10",
"@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",
Expand Down
Loading

0 comments on commit 3bc1597

Please sign in to comment.