Is it normal for eslint to check HTML files in VScod and publish a large number of no-unused-vars, in the Times?

eslint and eslint-plugin-html; are installed globally
is also set

"plugins": [
    "react",
    "html"],

and

"eslint.validate": [
    "javascript",
    "javascriptreact",
    {
        "language": "html",
        "autoFix": true
    },
    {
        "language": "vue",
        "autoFix": true
    }
],
The

problem is that the function in the JS written in
1.html is considered to be an no-unused-vars error, and I tied the onclick event in the HTML. Is this normal?
2. The "language" above: "html", "autoFix": true"s autoFix seems to be useless. I don"t understand how many people say to write it this way.
3.airbnb. I downloaded airbnb, and saw that it needs eslint a peer of 4.9.0. Eslint is now 4.19. I tried it a little bit. Will it be all right?
and please do not hesitate to comment.

update:
Consider running eslint--debug C:Userszhaohe.eslintrc.js from a terminal to obtain a trace about the configuration files used.
[Error-22:23:47]
Failed to load plugin html: Cannot find module "eslint-plugin-html"
Happened while validating C:Userszhaohe.eslintrc.js
This can happen for a couple of reasons:

  1. The plugin name is spelled incorrectly in an ESLint configuration file (room.eslintrc).
  2. If ESLint is installed globally, then make sure "eslint-plugin-html" is installed globally as well.
  3. If ESLint is installed locally, then "eslint-plugin-html" isn"t installed correctly.

Ah, I see such a long string in the output.
my installation runs in CMD

npm install -g eslint    
npm install -g eslint-plugin-html

I changed the word "eslint.nodePath" in the VScode setting. It doesn"t seem to produce this long list, but there is still a problem with reporting variables.

Menu