From b4d7f23bd3a02849a94e0ae3e00e3855dd771241 Mon Sep 17 00:00:00 2001 From: Owen Gometz Date: Wed, 13 Nov 2024 15:05:11 -0500 Subject: [PATCH] override problem files --- .eslintrc.json | 18 ++++++++++++++++++ package.json | 1 - 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index b2d1dd5acf..a522cc788a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -24,6 +24,24 @@ }, "env": { "node": true + }, + "overrides": [ + { + "files": [ + "public/src/admin/advanced/errors.js", + "public/src/admin/dashboard.js", + "public/src/admin/manage/category-analytics.js", + "public/src/admin/modules/dashboard-line-graph.js", + "public/src/client/flags/list.js", + "public/src/client/ip-blacklist.js", + "public/src/modules/ace-editor.js", + "public/src/modules/alerts.js", + "public/src/modules/api.js" + ], + "parserOptions": { + "sourceType": "module" + } } + ] } \ No newline at end of file diff --git a/package.json b/package.json index dc8bd1c720..845d206fbb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "nodebb", "license": "GPL-3.0", - "sourceType": "module", "description": "NodeBB Forum", "version": "3.8.4", "homepage": "https://www.nodebb.org",