From df1478986168cfd1deaf3c88db1d1c6d1fc421d2 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 21 Oct 2021 20:37:08 +0100 Subject: [PATCH] Enabled restricted require rule for core/server - we're now so close to having the server not require anything from the frontend... so close - having these last few problems be visible is motivating - should be able to upgrade it to an error soooon! --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 85e486ee2e..0b6f95b503 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -60,7 +60,7 @@ module.exports = { { files: 'core/server/**', rules: { - 'ghost/node/no-restricted-require': ['off', [ + 'ghost/node/no-restricted-require': ['warn', [ { // Throw an error for all requires of the frontend, _except_ the url service which will be moved soon name: [path.resolve(__dirname, 'core/frontend/**')],