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.
@edx/eslint-config
Advanced tools
If you're using @edx/frontend-build, then you'll get this package for free. Otherwise, you can install it via:
npx install-peerdeps --dev @edx/eslint-config
This will install the package and all of its peer dependencies.
Then, once it's installed, create an .eslintrc.js
file in the top-level directory of your project with the following contents:
module.exports = {
extends: "@edx/eslint-config",
}
If @edx/eslint-config
detects a tsconfig.json
file in the root folder of your project, it will optionally configure ESLint to add support for TypeScript. If a tsconfig.json
file exists, the ESLint config will:
airbnb-typescript
(source).parserOptions.project
to point to the tsconfig.json
file in the root folder of your project.airbnb-typescript
may only be extended if a tsconfig.json
file exists in your project.
If your tsconfig.json
file is defined somewhere other than the root folder of your project, you may override the default ESLint configuration by extending airbnb-typescript
and including the path to your tsconfig.json
file in the parserOptions.project
ESLint configuration.
FAQs
ESLint configuration for edX JavaScript code.
The npm package @edx/eslint-config receives a total of 7,060 weekly downloads. As such, @edx/eslint-config popularity was classified as popular.
We found that @edx/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.