Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@envsa/eslint-config
Advanced tools
Install the package with
npm i -D @envsa/eslint-config
Then install the peerDependency packages.
npm i -D eslint@^7.16.0 prettier@^2.1.2 stylelint@^13.8.0
The correct versions of each peerDependency package are listed by the command:
npm info "@envsa/eslint-config@latest" peerDependencies
Or, if using npm 5+, use this shortcut:
npx install-peerdeps --dev @envsa/eslint-config
This package will create the following 3 initial config files during installation:
If the config file exists already, it won't create/replace the file.
If you want to config manually, please add the config to either your package.json
:
{
"eslintConfig": {
"extends": "@envsa"
}
}
to your .eslintrc
:
{
"extends": "@envsa"
}
or .eslintrc.js
:
module.exports = {
extends: "@envsa",
};
This is how you use or extend the @envsa/eslint-config
prettier config in your
app:
// prettier.config.js
module.exports = require("@envsa/eslint-config/prettier.config");
This ESLint configuration comes with some fundamental assumptions:
Even though I made some assumptions, you can easily overwrite, extend and unset rules and any other setting in your custom eslint config.
FAQs
ESLint configuration for @envsa/shared-config.
We found that @envsa/eslint-config 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.