
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@bitassembly/eslint-plugin-import-alias
Advanced tools
Encourage use of defined aliases in TSConfig/JSConfig through ESLint.
../
and ./
npm install --save-dev @limegrass/eslint-plugin-import-alias eslint
This plugin relies on an alias configuration in tsconfig.json
, jsconfig.json
,
or a config with the same schema and a path given as aliasConfigPath
in its rules
settings. See the rules documentation for more detail.
The following is the most basic configuration. Check the rules documentation for further configuration.
// .eslintrc
{
"plugins": ["@limegrass/import-alias"],
"rules": {
"@limegrass/import-alias/import-alias": "error"
}
}
This configuration is also turned on automatically if you extend eslint:recommended
.
FAQs
Rewrite imports to TSConfig aliases
We found that @bitassembly/eslint-plugin-import-alias demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.