title: How to resolve the error "Parsing error: Unexpected token import" in router.js?
body: <p>How to resolve unexpected token import eslint error inside router.js?</p>
  
  <p>I have tried this as well.
  <code>'parser': 'babel-eslint'</code></p>
  
  <p>My router.js
  <code>const Screen1 = () =&gt;
    import("@/components/run/Screen1");
  const Screen2 = () =&gt;
    import(
      "@/components/run/Screen2"
    );</code></p>
  
  <p>my package.json
  <code>"eslintConfig": {
      "root": true,
      "env": {
        "node": true
      },
      "extends": [
        "plugin:vue/essential",
        "eslint:recommended"
      ],
      "rules": {},
      "parserOptions": {
        "parser": "babel-eslint"
      }
    },</code></p>