From 99ca82207b4a4a7acd32a0de9428574458269996 Mon Sep 17 00:00:00 2001 From: Sonny Piers Date: Fri, 20 Dec 2024 13:12:56 +0100 Subject: [PATCH] f --- eslint.config.mjs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 7a147184..1d7394c1 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -32,11 +32,11 @@ export default [ jsx: true, }, }, - sourceType: "module", + sourceType: "commonjs", }, rules: { - // strict: ["error", "global"], + strict: ["error", "global"], "no-empty": ["error", { allowEmptyCatch: true }], // "no-multi-assign": 0, "func-names": ["error", "as-needed"], @@ -92,10 +92,9 @@ export default [ }, }, { - files: ["server/ctl.js"], - rules: { - "n/no-unsupported-features/es-syntax": "off", - "n/no-unsupported-features/es-syntax": "off", + files: ["packages/client/**/*.js"], + languageOptions: { + sourceType: "module", }, }, ];