
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
eslint-plugin-no-package-self-import
Advanced tools
An ESLint plugin for finding instances of a package importing from itself
An ESLint plugin for finding instances of a package importing from itself
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-no-package-self-import
:
npm install eslint-plugin-no-package-self-import --save-dev
Add no-package-self-import
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-package-self-import"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-package-self-import/rule-name": "warn"
}
}
Or use the recommended configuration:
{
"extends": [
"plugin:no-package-self-import/recommended"
]
}
Name | |
---|---|
✅ | recommended |
💼 Configurations enabled in.
✅ Set in the recommended
configuration.
Name | Description | 💼 |
---|---|---|
no-package-self-import | Disallow importing from the same package | ✅ |
FAQs
An ESLint plugin for finding instances of a package importing from itself
The npm package eslint-plugin-no-package-self-import receives a total of 659 weekly downloads. As such, eslint-plugin-no-package-self-import popularity was classified as not popular.
We found that eslint-plugin-no-package-self-import demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.