From 9870a7f4959ddaff389329b4f88ba0e532941375 Mon Sep 17 00:00:00 2001 From: Rafael Park Date: Tue, 26 Nov 2024 02:26:08 -0800 Subject: [PATCH] fixed linting --- backend/eslint.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/eslint.config.js b/backend/eslint.config.js index 9ed74ac0..6dfc1ada 100644 --- a/backend/eslint.config.js +++ b/backend/eslint.config.js @@ -3,13 +3,12 @@ import pluginJs from "@eslint/js"; /** @type {import('eslint').Linter.Config[]} */ export default [ - { languageOptions: { globals: globals.node } }, + { languageOptions: { globals: { ...globals.node, ...globals.jest } } }, pluginJs.configs.recommended, { rules: { camelcase: ["warn", { properties: "never", ignoreDestructuring: false }], "max-len": ["warn", { code: 140 }], - "no-console": "warn", }, }, -]; +]; \ No newline at end of file