Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@aerian/eslint-config-react
Advanced tools
This is a sharable ESLint config for React. The base config is NO LONGER included by default so you will likely need to include it yourself. If you're using TypeScript, add `@aerian/eslint-config-typescript` too.
This is a sharable ESLint config for React. The base config is NO LONGER included by default so you will likely need to include it yourself. If you're using TypeScript, add
@aerian/eslint-config-typescript
too.
If you're not using React, try @aerian/eslint-config
instead. If you're using
Preact, try @aerian/eslint-config-preact
To install, run:
#npm
npm i -D eslint prettier @aerian/eslint-config @aerian/eslint-config-react
#yarn
yarn add -D eslint prettier @aerian/eslint-config @aerian/eslint-config-react
To use it, create the following .eslintrc.json:
{
"extends": ["@aerian/eslint-config", "@aerian/eslint-config-react"]
}
..or if you're using TypeScript:
{
"extends": [
"@aerian/eslint-config",
"@aerian/eslint-config-react",
"@aerian/eslint-config-typescript"
]
}
The base formatting uses Prettier, which parses and reformats your code. It runs
this through ESLint, so you can run use eslint . --fix
to apply Prettier
formatting as well as ESLint rules.
FAQs
This is a sharable ESLint config for React. The base config is NO LONGER included by default so you will likely need to include it yourself. If you're using TypeScript, add `@aerian/eslint-config-typescript` too.
We found that @aerian/eslint-config-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.