eslint no-unused-vars 解决办法

/*eslint no-unused-vars: ["error", { "args": "none" }]*/

router.afterEach((to, form) => {
  Auth.isLogin = true
})

 方便参考:

http://www.verydoc.net/eslint/00003512.html