eslint-import-resolver-nuxt-import

ESLint plugin with rules that help validate proper imports.
1,658 2
Install
npm install eslint-import-resolver-nuxt-import
Latest Version:0.0.1
License:MIT
Last Updated:May 10, 2021
Links: GitHub  ·  npm
Maintainer: negezor

eslint-import-resolver-nuxt-import

Solves the problem with unresolved imports in Nuxt.js with Eslint

Installation

Node.js 8.0.0 or newer is required

Yarn

Recommended

yarn add eslint-import-resolver-nuxt-import

NPM

npm install eslint-import-resolver-nuxt-import --save

Usage

Config is passed directly through to resolve as options:

"settings": {
	"import/resolver": {
		"nuxt-import": {}
	}
}

Set default extensions

"settings": {
	"import/resolver": {
		"nuxt-import": {
			"extensions": [".mjs", ".js", ".vue", ".graphql", ".json"]
		}
	}
}

Related Packages

@novicell/eslint-config-nuxt

A Eslint config for Nuxt projects with TypeScript

2,445
eslint-plugin-reactive-value-suffix

This ESLint plugin enforces adding `.value` when accessing reactive values in th...

859 4
@varlet/import-resolver

varlet import resolver for unplugin-vue-components and unplugin-auto-import

26,097 5,338
@privyid/eslint-config-persona

Eslint shareable config for Persona project

5,861 68
eslint-plugin-pino-logger

ESLint rule to enforce structured logging with Pino in Nuxt, Next, and general J...

5,000 0

Version History

Version Released License
0.0.1 MIT