From 47fb53b43c355099c2f381cb91693b94be4ee4c8 Mon Sep 17 00:00:00 2001 From: Dilan Nair Date: Wed, 21 Dec 2022 15:53:59 -0600 Subject: [PATCH] Update use-an-eslint-config-file.md --- website/recipes/use-an-eslint-config-file.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website/recipes/use-an-eslint-config-file.md b/website/recipes/use-an-eslint-config-file.md index 1a00260..77296aa 100644 --- a/website/recipes/use-an-eslint-config-file.md +++ b/website/recipes/use-an-eslint-config-file.md @@ -1,11 +1,9 @@ # Use an ESLint config file ```js title="craco.config.js" -const { ESLINT_MODES } = require('@craco/craco'); - module.exports = { eslint: { - mode: ESLINT_MODES.file, + mode: 'file', }, }; ```