From 41e2c8ed037b92d67097c2f86c7ba8d6f9528f3c Mon Sep 17 00:00:00 2001 From: HIMANSHU Date: Tue, 16 Apr 2024 15:14:41 +0530 Subject: [PATCH] feat: babel config fixed --- babel.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index aa61fec..87a6c7d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -5,7 +5,8 @@ * @param {Function} api.cache - Function used for caching Babel configuration. * @returns {object} Babel configuration object with presets and plugins. */ -module.exports = function(api = { cache: () => {} }) { +// eslint-disable-next-line fp/no-mutation +module.exports = (api = { cache: () => {} }) => { api.cache(true); return { presets: ['babel-preset-expo'],