1.5.0 • Published 2 years ago
eslint-plugin-module-resolver v1.5.0
eslint-plugin-module-resolver
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
- module-resolver/use-alias - Warn when aliased paths are using relative paths
License
ESLint-plugin-module-resolver is licensed under the MIT License.
1.5.0
2 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.2.0
3 years ago
1.2.0-beta
3 years ago
1.1.0
3 years ago
1.0.0
4 years ago
0.17.0
4 years ago
0.16.0
4 years ago
0.15.0
5 years ago
0.14.0
5 years ago
0.13.0-ts
5 years ago
0.13.0
5 years ago
0.12.0
5 years ago
0.11.0
5 years ago
0.10.0
5 years ago
0.9.0
5 years ago
0.8.0
6 years ago
0.7.0
6 years ago
0.6.0
6 years ago
0.5.0
6 years ago
0.4.0
6 years ago
0.3.0
6 years ago
0.2.0
6 years ago
0.1.0
6 years ago
0.0.0
6 years ago