Packages
@nuxt/eslint-plugin
ESLint plugin of additional rules for Nuxt 3.
ESLint plugin of additional rules for Nuxt 3.
Usually, you don't need to use this package directly. It's already included in the ESLint Module and the ESLint Config.
Rules
nuxt/prefer-import-meta
This rule enforces the use of import.meta.dev
/ import.meta.server
in Nuxt 3 projects instead of process.client
/ process.server
.
{
"rules": {
"nuxt/prefer-import-meta": "error"
}
}