eslint-plugin-module-resolver

1.5.0 • Public • Published

eslint-plugin-module-resolver

npm version npm downloads CircleCI codecov

Warn when using relative paths to modules aliased using babel-plugin-module-resolver

Installation

You'll first need to install ESLint:

yarn add --dev eslint

Next, install eslint-plugin-module-resolver:

yarn add --dev eslint-plugin-module-resolver

Usage

Add module-resolver to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["module-resolver"]
}

Then configure the rules you want to use under the rules section of .eslintrc.

{
  "rules": {
    "module-resolver/use-alias": 2
  }
}

Supported Rules

License

ESLint-plugin-module-resolver is licensed under the MIT License.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.014,404latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.014,404
1.4.01,161
1.3.02
1.2.0191
1.2.0-beta2
1.1.010
1.0.01,143
0.17.0495
0.16.01,546
0.15.082
0.14.04
0.13.0-ts2
0.13.014
0.12.014
0.11.04
0.10.04
0.9.024
0.8.025
0.7.04
0.6.03
0.5.03
0.4.03
0.3.04
0.2.04
0.1.04
0.0.03

Package Sidebar

Install

npm i eslint-plugin-module-resolver

Weekly Downloads

19,155

Version

1.5.0

License

MIT

Unpacked Size

22.6 kB

Total Files

10

Last publish

Collaborators

  • heroprotagonist