Gathering detailed insights and metrics for @uselessscope/eslint-import-resolver-webpack
Gathering detailed insights and metrics for @uselessscope/eslint-import-resolver-webpack
ESLint plugin with rules that help validate proper imports.
npm install @uselessscope/eslint-import-resolver-webpack
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99.12%)
HTML (0.46%)
TypeScript (0.2%)
Shell (0.17%)
PowerShell (0.03%)
Batchfile (0.02%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5,639 Stars
2,311 Commits
1,575 Forks
37 Watchers
16 Branches
364 Contributors
Updated on Feb 18, 2025
Latest Version
0.14.9
Package Id
@uselessscope/eslint-import-resolver-webpack@0.14.9
Unpacked Size
18.63 kB
Size
5.75 kB
File Count
4
NPM Version
8.6.0
Node Version
18.0.0
Published on
Mar 11, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
11
1
6
Webpack-literate module resolution plugin for eslint-plugin-import
.
:boom: Only "synchronous" Webpack configs are supported at the moment. If your config returns a
Promise
, this will cause problems. Consider splitting your asynchronous configuration to a separate config.
Published separately to allow pegging to a specific version in case of breaking changes.
To use with eslint-plugin-import
, run:
1npm i eslint-import-resolver-webpack -g
or if you manage ESLint as a dev dependency:
1# inside your project's working tree 2npm install eslint-import-resolver-webpack --save-dev
Will look for webpack.config.js
as a sibling of the first ancestral package.json
,
or a config
parameter may be provided with another filename/path either relative to the
package.json
, or a complete, absolute path.
If multiple webpack configurations are found the first configuration containing a resolve section will be used. Optionally, the config-index
(zero-based) setting can be used to select a specific configuration.
1--- 2settings: 3 import/resolver: webpack # take all defaults
or with explicit config file name:
1--- 2settings: 3 import/resolver: 4 webpack: 5 config: 'webpack.dev.config.js'
or with explicit config file index:
1--- 2settings: 3 import/resolver: 4 webpack: 5 config: 'webpack.multiple.config.js' 6 config-index: 1 # take the config at index 1
or with explicit config file path relative to your projects's working directory:
1--- 2settings: 3 import/resolver: 4 webpack: 5 config: './configs/webpack.dev.config.js'
or with explicit config object:
1--- 2settings: 3 import/resolver: 4 webpack: 5 config: 6 resolve: 7 extensions: 8 - .js 9 - .jsx
If your config relies on environment variables, they can be specified using the env
parameter. If your config is a function, it will be invoked with the value assigned to env
:
1--- 2settings: 3 import/resolver: 4 webpack: 5 config: 'webpack.config.js' 6 env: 7 NODE_ENV: 'local' 8 production: true
Get supported eslint-import-resolver-webpack with the Tidelift Subscription
No vulnerabilities found.
Reason
18 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 19/27 approved changesets -- score normalized to 7
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-02-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