I am using eslint v 7.12.1 and when I run it through npm for analysing some 
javascript code, there's a weird error message. I'm a student at college, 
so I do not know a lot about it, I might made a beginner mistake without 
realising. To learn how to use it, my teacher sends youtube videos about 
coding tools (such as eslint and npm) and yet his demo didn't show any 
errors like mine. He was using eslint v 7.10.0 in the vid. The error occurs 
when I want to analyse code, initializing is successful just like 
installing. There's the full message I receive : 
Oops! Something went wrong! :(

ESLint: 7.12.1

ESLint couldn't find the config "google" to extend from. Please check that 
the name of the config is correct.

The config "google" was referenced from the config file in "".

If you still have problems, please stop by https://eslint.org/chat/help to 
chat with the team.

This is the config file after I run eslint and the error shows up : 

module.exports = {
    "env": {
        "browser": true,
        "es2021": true
    },
    "extends": [
        "google"
    ],
    "parserOptions": {
        "ecmaVersion": 12,
        "sourceType": "module"
    },
    "rules": {
    }
};

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/eslint/020a7f9d-5631-4372-8483-a0961d41f697n%40googlegroups.com.

Reply via email to