I'm trying to deploy a cloud function on firebase. I'm successfully logged into firebase CLI from osx terminal. When I go to deploy it kicks back this error.
Oops! Something went wrong! :(
ESLint: 7.19.0
ESLint couldn't find the config "google" to extend from. Please check that the name of the config is correct.
it's because you didn't do the install
Would you like to install them now with npm? · No / Yes
you can try again configuring json .eslint or you can do it this way
npm install eslint-config-google --save-dev
As explained here: https://eslint.org/docs/user-guide/configuring/configuration-files#using-a-configuration-from-a-plugin
The
extends
property value can consist of:
plugin:
- the package name (from which you can omit the prefix, for example,
react
is short foreslint-plugin-react
)/
- the configuration name (for example,
recommended
)
Meaning, if you extend your config using the google plugin like this in your .eslintrc.yml
:
extends:
- google
you have to install it doing:
npm install eslint-config-google --save-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With