I am trying to deploy my flutter app to a firebase hosted website. I use the firebase deploy command but I am getting an error for eslint.
Here is the error:
(node:5944) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead. (Use
node –trace-deprecation …` to show where the warning was created)
=== Deploying to ‘deal-diligence-5de73’…
i deploying functions, hosting
Running command: npm –prefix “$RESOURCE_DIR” run lint
lint
eslint .
Oops! Something went wrong! 🙁
ESLint: 9.5.0
ESLint couldn’t find an eslint.config.(js|mjs|cjs) file.
From ESLint v9.0.0, the default configuration file is now eslint.config.js.
If you are using a .eslintrc.* file, please follow the migration guide
to update your configuration file to the new format:
https://eslint.org/docs/latest/use/configure/migration-guide
If you still have problems after following the migration guide, please stop by
https://eslint.org/chat/help to chat with the team.
Error: functions predeploy error: Command terminated with non-zero exit code 2`
How do I fix this? I have tried migrating but I don’t know if it worked.
I tried migrating the eslint config file but I don’t know if it worked.