New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-import-resolver-nuxt-import

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-import-resolver-nuxt-import

ESLint plugin with rules that help validate proper imports.

0.0.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

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"]
		}
	}
}

Keywords

nuxt

FAQs

Package last updated on 11 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts