ESLint plugin for Nuxt.js, disallow use client variables on the server.
- Use our preset to extend recommended defaults:
{
"extends": ["plugin:nuxt-client/recommended"]
}
💿 eslint nuxt plugin, do not use client variables on the server. 适用于nuxt的eslint插件,避免在服务端使用客户端变量,如window、document等
JavaScriptMIT