Skip to content

DEV: Update eslint config #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 { registerDeprecationHandler } from "@ember/debug";
import { cancel } from "@ember/runloop";
import Service, { inject as service } from "@ember/service";
import Service, { service } from "@ember/service";
import identifySource from "discourse/lib/source-identifier";
import DEPRECATION_WORKFLOW from "discourse-common/deprecation-workflow";
import discourseDebounce from "discourse-common/lib/debounce";
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];
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"private": true,
"devDependencies": {
"@babel/parser": "^7.24.8",
"@babel/plugin-proposal-decorators": "^7.25.7",
"@babel/preset-env": "^7.24.8",
"@babel/traverse": "^7.24.8",
"@babel/types": "^7.24.8",
"@discourse/lint-configs": "1.3.10",
"@discourse/lint-configs": "2.0.1",
"content-tag": "^2.0.1",
"ember-template-lint": "6.0.0",
"eslint": "8.57.1",
"eslint": "9.14.0",
"prettier": "2.8.8",
"js-yaml": "^4.1.0"
},
Expand Down
Loading