[Solved] Vue gaiters console.log error: Unexpected console statement (no-console)

Solution: add the following configuration to the package. JSON file

"rules": {
      "no-console": "off",
      "no-restricted-syntax": ["error", {
          "selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]",
          "message": "Unexpected property on console object was called"
      }]
    },


Read More: