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'],