Gathering detailed insights and metrics for eslint-import-resolver-babel-root-slash-import
Gathering detailed insights and metrics for eslint-import-resolver-babel-root-slash-import
npm install eslint-import-resolver-babel-root-slash-import
Typescript
Module System
Node Version
NPM Version
62
Supply Chain
84.2
Quality
74.8
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
15,959
Last Day
1
Last Week
13
Last Month
26
Last Year
752
MIT License
1 Stars
6 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 21, 2025
Minified
Minified + Gzipped
Latest Version
1.0.6
Package Id
eslint-import-resolver-babel-root-slash-import@1.0.6
Size
3.31 kB
NPM Version
5.0.0
Node Version
8.0.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
550%
13
Compared to previous week
Last Month
-43.5%
26
Compared to previous month
Last Year
-45.8%
752
Compared to previous year
3
2
A babel-root-slash-import resolver for eslint-plugin-import.
1npm install --save-dev eslint-plugin-import eslint-import-resolver-babel-root-slash-import
Inside your .eslintrc
file, pass this resolver to eslint-plugin-import
:
"settings": {
"import/resolver": {
"babel-root-slash-import": {}
}
}
And see babel-root-slash-import to know how to configure.
1{ 2 "extends": "airbnb", 3 "rules": {}, 4 "settings": { 5 "import/resolver": { 6 "babel-root-slash-import": {} 7 } 8 } 9}
You can debug the result of the plugin by adding debug
option to true
in your .eslintrc
file:
1{ 2 "extends": "airbnb", 3 "rules": {}, 4 "settings": { 5 "import/resolver": { 6 "babel-root-slash-import": { "debug": true} 7 } 8 } 9}
Then run your linter and find the result in /tmp/eslint-import-resolver-babel-root-slash-import.log
:
Example:
/js/store/myFile.js - /path/to/projects/myJSProject/index.js- absolute - true - /path/to/projects/myJSProject/js/store/myFile.js
./js/store/myFile.js - /path/to/projects/myJSProject/index.js- other - true - /path/to/projects/myJSProject/js/store/myFile.js
/js/store/myFile.js - /path/to/projects/index.js- absolute - false - undefined
The format is {import value} - {file containing the import}- {absolute|other} - {true is resolving succeeds} - {resolved path}
MIT, see LICENSE.md for details.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
39 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More