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",