Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@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.
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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.