Write nuxt project under vscode, export is not recognized

.eslintrc.js is configured as follows

   

description:

    The problem with
  1. is "plugin:vue/essential" . If you comment it out, vscode will work properly.
  2. npm run dev can run normally and will not report an error of export . Of course, an error will be reported if "plugin:vue/essential" is commented out.

looks like an error in the performance of "plugin:vue/essential" under vscode"s eslint?
currently my solution is to set the path of eslint to .eslintrc _ nuxt.js" in nuxt.config.js , so that eslint for nuxt and vscode will use different configuration files.

what is the reason for this? How to solve the problem?

Mar.11,2021
Menu